Skip to content

Telegram bot to auto post messages of one channel in another channel as soon as it is posted, without the forwarded tag.

License

Notifications You must be signed in to change notification settings

Esther-Lopez/ChannelAutoPost

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Channel Auto-Post Bot

This bot can send all new messages from one channel, directly to another channel (or group, just in case), without the forwarded tag!

Setting up

  • First:

APP_ID and API_HASH - Get it from my.telegram.org
BOT_TOKEN - Get it from @BotFather
FROM_CHANNEL - The ID of the main channel from where posts have to be copied. (Use @chnlidbot to get it.)
TO_CHANNEL - The ID of the channel to which the posts are to be sent. (Use @chnlidbot to get it.)

  • Chose a platform to deploy on:
Heroku/Kintohub/Zeet
Add the above values to the environment vars and deploy the bot.
Local Deploys
- Clone the repo: git clone https://github.com/xditya/ChannelAutoForwarder
- 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

Add the bot to both channels with admin permission, and thats it! All new messages will be auto-posted!!

Visit @TeamCyphers for help.

Credits

Lonami, for Telethon.
xditya, me.
@ettan_fan, for the whole idea.

About

Telegram bot to auto post messages of one channel in another channel as soon as it is posted, without the forwarded tag.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%