Skip to content

A telegram forwarder that will automatically post message form Another telegram channel / group to Your telegram channel / group

License

Notifications You must be signed in to change notification settings

Ayush7445/telegram-forwarder_auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Channel Auto-Post Bot

This makes a user send all messages from one/many chat(s) to another chat(s).

Deploy

YouTube Video - Deploy Tutorial On YouTube

YouTube Video - Heroku Error Solution

Setting up

  • First:

APP_ID and API_HASH - Get it from my.telegram.org
SESSION - A telethon session string, get it from here.
FROM_CHANNEL - Channel ID(s) split by space or just one channel ID.
TO_CHANNEL - Channel ID(s) split by space or just one channel ID.

BLOCKED_TEXTS - To block any specific text in message. ( If that text is found inside the text, then that message will not get forward). MEDIA_FORWARD_RESPONSE - To manage media forward. ( To allow media forward - yes or no).

  • Chose a platform to deploy on:
Heroku/Kintohub/Zeet
Add the above values to the environment vars and deploy the bot.
Local Deoploys
- Clone the repo: git clone https://github.com/Ayush7445/telegram-auto_forwarder
- Make a .env file in the root of the repo, like .env.sample and fill in the values.
- Use python3 bot.py to start the bot.

Usage

All new messages will be auto-posted!! Join the channel from you want the posts to be taken. Join as admin in the channel where you want the posts to be sent to.

Telegram Channel - Join it for Update purpose.

Credits

Lonami, for Telethon.

About

A telegram forwarder that will automatically post message form Another telegram channel / group to Your telegram channel / group

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published