Telegram is a quick way to get alerts on your phone, day and night. Uptimecheck sends them through a bot you create.
Create a bot
- In Telegram, open a chat with @BotFather and send
/newbot. - Follow the steps and copy the API token BotFather gives you.
- Start a chat with your new bot, or add it to the group that should get alerts, and send it a message.
- Find the chat ID, for example by opening
https://api.telegram.org/bot<token>/getUpdatesin a browser and readingchat.id.
Add it to Uptimecheck
- Open Notification handlers and choose Create notification handler.
- Give it a name and pick Telegram as the type.
- Paste the Telegram API token and the chat ID.
- Use Test integration, then choose Create.
- Tick the handler under Notifications on the monitors that should use it.
Group chat IDs start with a minus sign; include it. See all alert channels.