Telegram
YipYap can send alert notifications to Telegram chats, groups, or channels via a Telegram bot. Notifications include inline buttons for acknowledging and resolving alerts.
Bot Setup
Section titled “Bot Setup”- Create a Telegram bot by messaging @BotFather and running
/newbot. - Copy the bot token that BotFather provides.
- In YipYap, go to Settings > Notifications > Add Channel > Telegram.
- Paste the bot token.
Chat ID
Section titled “Chat ID”You need to provide the Chat ID where the bot should send messages. To find your Chat ID:
- Add the bot to your group or start a direct message with it.
- Send any message to the bot.
- Visit
https://api.telegram.org/bot<TOKEN>/getUpdatesin your browser. - Look for the
chat.idfield in the response.
Enter this Chat ID in the YipYap configuration.
Inline Buttons
Section titled “Inline Buttons”Each notification includes inline keyboard buttons:
- Acknowledge: Acknowledges the alert.
- Resolve: Resolves and closes the alert.
The Telegram user who presses the button is recorded in the alert history.
Formatting
Section titled “Formatting”Notifications are sent as formatted messages with:
- Monitor name and status (with emoji indicators).
- Alert timestamp.
- A direct link to the alert in the YipYap dashboard.
Troubleshooting
Section titled “Troubleshooting”- Bot not sending messages: Verify the bot has been added to the target chat and has permission to send messages.
- Invalid Chat ID: Double-check the Chat ID by using the
getUpdatesAPI endpoint.