“Social Network Integrations” Documentation by “WPWeb”
To create telegram API, download Telegram desktop and do login to your account. You can download Telegram desktop from here.
Now, search for @botfather and click the verified one. Now, click on start as shown in the screenshot.
Now, select “/newbot” as shown in the screenshot below.
Now, choose name and username of the bot as shown in the screenshot. After entering username, it will ask for bot name. Choose name of the bot that must ends with “bot” i.e. wpwebbot OR wpweb_bot.
Once you enter bot name it will generate bot token and bot URL as shown in the screenshot.
Now, open a bot URL as shown in the screenshots below.
Once you click on a bot URL it will open another chat window and click on start.
After that enter the bot name and bot token within the plugin settings and save the settings. See Image Below:
Assuming you already having a group. If not please refer this documentation to create Telegram group. go to group settings and add bot as an admin. First of all go to add members setting.
Search the bot name that you have created and click on add.
Now, go to manage group settings.
Now, click on members.
Search the bot name and propote as an admin.
After that permissions popup occurs. Select the permissions as shown in the screenshot below.
Assuming you already having a Channel. If not please refer this documentation to create Telegram channel.Now, go to Channel settings and add bot as an admin. First of all, go to add members settings as shown in the screenshot.
After that search the bot that you have created and click on add.
Bots can only be added as an admin so, click on make admin.
Channel permissions for bot will be as shown in the screenshot.
Now, go to plugin settings and click on “Refresh data & save” button. Your Telegram account, group and channel will be available for selection within the plugin settings.
Now, if you want to map another Telegram user account, that user needs to search bot name from their account and need to hit start button.
Now, go to plugin settings and click on “Refresh data & save” button. Your Telegram account, group and channel will be available for that selection within the plugin settings.