Fork the repo. |
---|
A simple Telegram bot that will automatically forward new posts to your channel to other channels.
You can deploy this code anywhere, but below is how to deploy Heroku and Railways.
-
Select one of these 2 methods
-
First get your channel id and set it in this format -10023352648:-100655379 - ID of the channel from which you want to forward -10023352648 - ID of the channel you want to forward to -100655379
-
( You can set the ID of many channels like this, but you cannot forward like from one channel to another and from another to the third, you can forward only from one channel to another. )
-
my.telegram.org Go to and get the API ID and API HASH from there.
-
Get your bot token from Telegram bot father @BotFather
start - Check whether the bot is on or off.
about - about me.
- Dan for his pyrogram docs
- MaheshMalekar ❤