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

  1. In Telegram, open a chat with @BotFather and send /newbot.
  2. 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

  1. Add the bot to the group (or just open a direct chat with it) and send any message, for example “hello”.
  2. Open this address in your browser, replacing TOKEN with your bot token: https://api.telegram.org/botTOKEN/getUpdates
  3. Look for "chat":{"id":...}. Group IDs are negative numbers such as -1001234567890.

3. Add the channel to a rule

  1. In the add-on, edit a rule and tick Send a chat message.
  2. Choose Telegram, paste the bot token, and enter the chat ID.
  3. Write the message and click Save rule, then Send test.

Tips