Forward_2.0
- Bot to forward messages from one channel to other without admin permission in source channel.
- Can be used for both private and Public channels.
- Bot Index message from channel and saves to database, further forwards and deletes each messages from database.Use of database was to Remove duplicacy of files.
- For Private channels User account is used to copy messages, hence will be slow, to avoid ban.
- For Public Channels Bot is used to forward , Thanks to DⱥℝkAngel for his Frwdit.
Deploy to Heroku
Variables
API_HASHAPI Hash from my.telegram.orgAPI_IDAPI ID from my.telegram.orgBOT_TOKENBot token from @BotFatherOWNER_IDTelegram Id of Owner.TO_CHANNELChannel ID of channel to which messages are forwarded eg:- -100xxxxxxxxSESSIONPyrogram session string Generate From hereDATABASE_URIDatabase uri from MongoDBDATABASE_NAMEDatabase Cluster nameCOLLECTION_NAMEDatabase Collection name.
Credits
- DⱥℝkAngel for his Frwdit
- Rahul for his ForwardBot