Git Product home page Git Product logo

things-forward-telegram's Introduction

Message-Forwarding Bot

Note

This major version is not compatible with previous major versions.

Technical support for previous versions is no longer provided.

If you want to update to the latest version, please update the configuration file according to config.ini.default.

Operating Environment

Python 3.9 and above is required

The following libraries are required:

  • pyrogram
  • asyncpg
  • aioredis

Feature

  • Support any media except voice messages.
  • Use PostgreSQL engine to check if the target media is duplicated.
  • Collect all the videos and pictures from the target group or channel.
  • Customized forwarding methods including Blacklist.
  • The time interval for message forwarding is customized to avoid certain risks including banned accounts.
  • Logging function is supported.
  • Prevent possible loss of configuration files by writing configuration files by command at runtime.
  • Set up forwarding in a more convenient way.
  • Forward the warning messages in the log to a specified group.
  • Document channel only handles forwarding video and image files.
  • If you have the authorized password, you can send authorized code to the bot account to get the permission.
  • By using command lines, users can delete all the messages from a certain user in the blacklist.
  • Caption longer than 20 characters will be replaced with the sender's user_id and will be re-sent by the bot. (Optional)

How to use

  • If you don't have api_id and api_hash, obtain them from telegram
  • Copy config.ini.default to config.ini
  • Edit forward target
  • Set up PostgreSQL database and tables
  • Run forward.py

License

Copyright (C) 2018-2023 KunoiSayami

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

things-forward-telegram's People

Contributors

jc-v avatar kunoisayami avatar x0x8x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

things-forward-telegram's Issues

Poderia Ajudar a leigo a instalar?

POder descrever bem melhor a instalação?
Se você não tem api_ide api_hash, obtenha-os no telegrama
Copiar config.ini.defaultparaconfig.ini
Editar alvo avançado
Configurar banco de dados e tabelas PostgreSQL
Corre forward.py
?????

Sorry?

Can you please put step by step? It wasn't clear on read.me
owner =
auth_users = []
auth_code =
group_id =
What means owner? Or group_id its the "from" or "to"?

[forward]
; forward only type photo message to channel_id
to_photo =
; forward only type video message to channel_id

I need put "yes" or "1"? For confirm the method for forward? Sorry

"How to use" part is quite vague

  • Edit forward target
  • Set up PostgreSQL database and tables

I find that these two aren't exactly easy for beginners to set up (like me). For example, you could specify the forward target being in which file to edit, and how to set up PostgreSQL database and tables to make it work. Would it be able to work with ElephantSQL as well?

Anti-Forward

Dude, how to counter this Auto Forward??
Cause it harming my private channel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.