Configuration
To set up the Telegram integration, you need to provide the following configuration:| Field | Description | Required |
|---|---|---|
| Bot Token | The authentication token for your Telegram bot. | Yes |
| Chat ID | The unique identifier for the target chat or channel. | Yes |
1
Get Bot Token
- Open Telegram and search for @BotFather.
- Start a chat and send the command
/newbot. - Follow the instructions to create a new bot.
- Once created, BotFather will provide you with a token. Copy this token.
2
Get Chat ID
- Add your bot to the group or channel where you want to receive notifications.
- If it’s a channel, make sure the bot is an administrator.
- You can find the Chat ID by forwarding a message from the chat to a bot like @userinfobot or by using the Telegram API
getUpdatesmethod after sending a message to the bot. - For channels, the ID usually starts with
-100.
3
Setup in UptimeKit
- Go to Settings > Integrations in your UptimeKit dashboard.
- Find Telegram in the list and click Configure.
- Paste the Bot Token and Chat ID into the respective fields.
- Click Save Changes.
Events
You will be notified for the following events:- Incident Created: When a new incident is reported.
- Incident Acknowledged: When a team member acknowledges an incident.
- Incident Updated: When a comment or update is added.
- Incident Resolved: When the incident is marked as resolved.