Send responses to Telegram
Post every submission into a Telegram group or chat using a bot.
Telegram works a little differently: instead of a webhook URL you need a bot token and a chat ID.
1. Create a bot
- In Telegram, open a chat with @BotFather and send
/newbot. - Follow the prompts to name it. BotFather replies with a token that looks like
123456789:AAH.... Copy it.
2. Add the bot to your group and get the chat ID
- Add the bot to the group (or just open a direct chat with it) and send any message, for example “hello”.
- Open this address in your browser, replacing
TOKENwith your bot token:https://api.telegram.org/botTOKEN/getUpdates - Look for
"chat":{"id":...}. Group IDs are negative numbers such as-1001234567890.
3. Add the channel to a rule
- In the add-on, edit a rule and tick Send a chat message.
- Choose Telegram, paste the bot token, and enter the chat ID.
- Write the message and click Save rule, then Send test.
Tips
- If the test fails with “chat not found”, the bot hasn’t received a message in that chat yet. Send one and try again.
- Telegram messages are limited to 4,096 characters; the add-on trims longer ones.