Telegram
The Telegram add-on sends each message of a form to Telegram the moment it’s sent: to your own chat, your team’s group or a channel. A form that takes a payment sends once it’s paid.
Set it up
- In Telegram, open @BotFather, send
/newbotand follow the steps. Copy the token it gives you. - Paste the token in Contact Form → Settings → Integrations → Telegram and save. The card says Connected as @your_bot when Telegram accepts it.
- Send
/startto your new bot. For a group, add the bot to it; for a channel, make the bot an admin of it. - Open a form, then its Telegram tab, and tick the chat under Send each message to.
A chat shows in the list once it has written to the bot. Not there? Send the bot a message, then open the tab again.
The form’s Telegram tab
| Setting | What it does |
|---|---|
| Send each message to | The chats that wrote to your bot. Tick as many as you like. |
| Other chats | Chat IDs or @channel names, one per line, such as a channel the bot posts to. |
| Message | What you get. It starts as the form’s title and All fields (every field filled in, a line each); change it as you like. Click a field or a tag under the box to put it where the cursor is, such as Call back: [phone]. *Stars* around words make them bold. |
Fields in a hidden group are left out, and nothing is sent while the form is in Test mode. Developers can change the text, or send nothing, with the remaily_telegram_message filter.
Was this article helpful?
Thanks for your feedback!