Configuring Telegram alerts in the Scheduler

Another of the frequently used scheduled tasks is sending Telegram notifications.

Telegram is a cross-platform messenger that allows you to send messages, photos, videos and files which makes it a popular corporative tool used for internal communications.

To create a Telegram alert, select Add Telegram notification in the Add task menu.

sch telegram new

In a window that opens, fill in the required fields

sch telegram example

The list of the fields is as follows:

  • Name

  • Bot token

  • Alert message

  • Chat identifications

Bot token and chat ID

A bot token is a unique bot identifier. To get a token, it is needed to contact BotFather, i.e. a Telegram bot used to create and manage other bot accounts.

A chat ID is given in the browser address bar. It must be the ID of that chat where your bot messages are supposed to be sent. Note that a web version of Telegram must be used. A full link will look as https://web.telegram.org/k/#-1234567890.

A chat ID is present after the # character, e.g. in the link above the chat ID is -1234567890.

More on Telegram bots see the Telegram documentation.