Go to documentation repository
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.
To configure message sending from Axxon PSIM to Telegram, do the following:
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
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.
Configuring message sending from Axxon PSIM to Telegram is complete.
Macro to send a text message:
Macro to send an image:
Macro to send geolocation:
See also examples of commands in TELEGRAM Telegram bot.