Skip to content

angiaou/telegram-message-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Telegram Message Sync bot

Deploy this function on flows.network, and you will get a Telegram bot that sync messages from Telegram groups to a channel automatically.

Pre-requisites

  1. 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.

image

  • 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.

image

  1. 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.

  2. Get your channel identifer <TARGET_CHANNEL_ID> Just click here

Deploy your Bot

1 Clone this repository to your github account

2 Create a bot

Just click here

image

Here you can see three variables. You should fill them with the prerequisites mentioned above

Click on the Build button.

Give it a try.

image

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%