Skip to content

Telegram

  1. Create a bot with @BotFather and copy its bot token.
  2. Add the bot to the chat, group or channel that should receive alerts. In a channel the bot needs permission to post.
  3. Find the chat id: a number (negative for groups and channels) or the @username of a public channel.
  4. In CronBeat open Channels, choose Telegram, enter the bot token and the chat id, and use Send test message.
Field Rule
Bot token Like 123456789:AA...: 5 to 15 digits, a colon, then 30 to 50 letters, digits, _ or -.
Chat id A number such as -1001234567890, or @ followed by 5 to 32 letters, digits or _.

The token is stored encrypted and shown as ********. CronBeat sends the message with the Telegram Bot API (sendMessage on api.telegram.org) as formatted text (HTML) with a bold state line, the monitor name as a link, the reason and the facts, and an Open in CronBeat button under the message. Link previews are switched off, and user typed text is escaped and kept below the 4096 character limit. Telegram is a plan feature: Pro and Enterprise. Other rules are on Channels and delivery.