- Ensure that your bot user is added as an administrator to your channel (https://stackoverflow.com/questions/33126743/how-do-i-add-my-bot-to-a-channel).
- Find your Telegram Channel ID (https://github.com/GabrielRF/telegram-id#web-channel-id).
- Determine your Telegram bot's Bot ID (Interactions -> Details -> Bot ID).
- Using the formula: Bot ID/c/Channel ID *, create a 'Response Path' for your Channel. If you have a Bot ID of 5e1d14c7r6b4bf165e97e902 and a Channel URL of https://web.telegram.org/#/im?p=c1436963423 17952171710386159746 * and a Bot ID of 5e1d14c7r6b4bf165e97e902 -1001436963423 (-100 + 1436963423) * is your Channel ID. As a result, your channel's Response Path will be 5e1d14c7r6b4bf165e97e902/c/-1001436963423.
- In Flow XO, create a Send Message task.
- Add your Response Path from step 4 to the 'Response Path' setting.
- You've done - your bot can now send to that channel. Simply utilize them whenever you need to send it to the channel. simply use the Response Path you created in your Send Message, Ask a Question, Send Card, or any other flows that allow you to configure a response path.
How can I send a message to a Telegram channel?
Asked
3 years ago
Viewed
199 times
How can I send a message to a Telegram channel?
1 Answer
The steps are as follows: