Telegram alerts
Send alerts to a Telegram chat with a bot.
Add a Telegram channel
Available on Paid plans
Telegram sends the alert through a bot you create. Create the bot with @BotFather, add the bot to the group or channel, and paste the bot token and the chat id. After saving, only the end of the token is shown. Messages go only to api.telegram.org.
- Create a bot with @BotFather and add it to the group or channel.
- Open Alerts. Under Add channel, set Type to Telegram.
- Paste the token into Bot token and the chat into Chat id.
- Choose Add channel.
Chat id is a number, including a group id that starts with a minus, or a public channel name such as @status_alerts. The form only checks that both fields are filled in. The server checks the shape, and the messages below are what it returns. Send test is described on How alerts work.
When it fails
Enter the bot tokenWhy: Bot token was empty when it was submitted.
What to change: Paste the token from @BotFather.
Enter the chat idWhy: Chat id was empty when it was submitted.
What to change: Enter the chat id or the channel name.
Enter the bot token from @BotFather, like 123456789:AAE…Why: The token is not in the shape BotFather gives you.
What to change: Paste the token again.
Enter a chat id (a number such as -1001234567890) or a channel name such as @status_alertsWhy: Chat id is neither a number nor a channel name of that shape.
What to change: Use the group's numeric id, or a public channel name.