Broadcast to Telegram is a very simple plugin that lets you automatically send post notification to your telegram channel via an admin BOT.
It allows you to enroll multiple Telegram channels and you can choose, when sending, which channels make the notification to. It also allows you to choose which type of document is to be used with.
It also gives the possibility, when a document is updated, to know which channels have already been sent a notification and edit directly the Telegram original message, marking it as updated by the (M) symbol.
- Download the plugin and install it in wordpress
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Settings > Broadcast to Telegram page enter your channel admin bot token and channels list in the syntax shown on the side.
How do I create a bot and link it to my channels?
There’s a bot… to create a new bot.
Just talk to BotFather (as described below) and follow a few simple steps.
- in your Telegram client window search for @BotFather
- next you type the following commands:
You: /newbot BotFather: Alright, a new bot. How are we going to call it? Please choose a name for your bot. You: myTestBot BotFather: Good. Now let's choose a username for your bot. It must end in 'bot'. Like this, for example: TetrisBot or tetris_bot. You: myUserBot BotFather: Done! Congratulations on your new bot. You will find it at t.me/mytestbot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this. Use this token to access the HTTP API: 277260464:AAGPNnx_87k1ctokVMffprgzvPgVvrXRAqQ For a description of the Bot API, see this page: https://core.telegram.org/bots/api
Parameters of your just created BOT are:
- name: myTestBot
- username: @myUserBot
- token: 277260464:AAGPNnx_87k1ctokVMffprgzvPgVvrXRAqQ
- URL: https://t.me/mytestbot
Warning! The data shown are just an example… They are therefore not working!
Now, if not already exist, let’s create on the smartphone channels (or chats) which we want to send notifications to:
e.g. @channel_name1, @channel_name2, …
Then on the smartphone add to every channel the BOT username (@myUserBot) as administrator.
Finally insert BOT token and channels list in the plugin settings page and “Voilà, les jeux sont faits!!”
That’s all folks!
There are no reviews for this plugin.
Contributors & Developers
“Broadcast to Telegram” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fixed error in localization
- Fixed error on HTML entities
- Initial Release on wordpress.org