Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Creating a macro for sending and stop playing the voice notification  Replicating archive from unconnected servers using the removable storage Next page


On the page:

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

Create the bot and the group chat with it in Telegram before configuring the message sending from Axxon PSIM to Telegram. You can use the pre-created and configured bot @Axxon PSIMNotificationsBot. For the distribution package and the user guide for Telegram messenger, see the developer official website telegram.org.

Configuring message sending from Axxon PSIM to Telegram

To configure message sending from Axxon PSIM to Telegram, do the following:

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

  2. If the Proxy server should be used 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 creating the bot.
    @Axxon PSIMNotificationsBot bot identifier is 474299886:AAGFKHcC8ARX9ziXgTlvKnwNhxnwlDhmD3M

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

    Note

    To find out the identifier of the chat, you can add @RawDataBot bot to the chat. After adding, the bot will send a message to the chat containing the result of the getUpdates function. Find ChatId in that message. Then the @RawDataBot bot can be removed from the chat.

  5. Click the Apply button (5).

Configuring message sending from Axxon PSIM to Telegram is complete.

Examples of macros for sending a message to Telegram

Macro to send a text message:

Macro to send an image:

Macro to send geolocation:

See also examples of commands in TELEGRAM Telegram bot.

  • No labels