Deploy this function on flows.network, and you will get a Telegram bot that sync messages from Telegram groups to a channel automatically.
- Bot token <TELEGRAM_TOKEN>
- You need a bot token to access the Telegram API.Just click here
- Disable privacy mode for your bot by sending the command
/setprivacy
to the botfather.
- add the bot to the group from which you want to forward messages.
- add the bot to the channel and give it admin’s post messages permission.
-
Telegram user identifier. <ALLOWED_USER_IDS>
You can get the user id by sending a message to the bot@userinfobot
and the bot will reply with your user id. -
Get your channel identifer <TARGET_CHANNEL_ID> Just click here
Here you can see three variables. You should fill them with the prerequisites mentioned above
Click on the Build button.
As soon as the flow function's status becomes ready
and the flow's status becomes running
, the Telegram Telegram bot goes live. Go ahead and send a message to the group!