Documentation for Axxon PSIM 2.0. Documentation for other versions of Axxon PSIM is available too.

Previous page Next page


On the page:

Axxon PSIM allows sending text messages, images, and geolocation to the Telegram chat on any event from any object registered in the objects tree. After configuration, the message sending is initiated by a macro or the Axxon PSIM script.

Before you start configuring the message sending from Axxon PSIM to Telegram, you must create a bot and the group chat with this bot in the messenger. You can use the pre-created and configured @Axxon PSIMNotificationsBot. For the distribution package and the user guide for Telegram messenger, see the telegram.org official developer website.

Configuring message sending from Axxon PSIM to Telegram

To configure the message sending to Telegram, do the following:

  1. Create the Telegram bot object (1) on the basis of the Computer object on the Hardware tab of the System settings dialog window.

  2. If you need to use the Proxy server to send messages, enter the Proxy server address in the Proxy field (2).
  3. In the Bot ID field (3), enter the Telegram bot identification number.

    Note

    The identification number is provided when you create a bot.

    @Axxon PSIMNotificationsBot bot identifier is: 474299886:AAGFKHcC8ARX9ziXgTlvKnwNhxnwlDhmD3M

  4. In the Chat ID field (4), enter the chat identifier.

    Note

    To find out the chat identifier, you can add the @RawDataBot bot to the chat. When you add it, the bot sends a message to the chat containing the result of executing the getUpdates function. Find ChatId in that message. Then you can remove the @RawDataBot bot from the chat.

  5. Click the Apply button (5).

Configuring the message sending to Telegram is complete.

Examples of macros for sending a message to Telegram

Macro to send the text message:

Macro to send media files:

Macro to send geolocation:

See also examples of commands in TELEGRAM Telegram bot.


  • No labels