Skip to content

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.

  1. Create a Telegram bot by messaging @BotFather and running /newbot.
  2. Copy the bot token that BotFather provides.
  3. In YipYap, go to Settings > Notifications > Add Channel > Telegram.
  4. Paste the bot token.

You need to provide the Chat ID where the bot should send messages. To find your Chat ID:

  1. Add the bot to your group or start a direct message with it.
  2. Send any message to the bot.
  3. Visit https://api.telegram.org/bot<TOKEN>/getUpdates in your browser.
  4. Look for the chat.id field in the response.

Enter this Chat ID in the YipYap configuration.

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.

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.
  • 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 getUpdates API endpoint.