Go to documentation repository
| Section | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Axxon PSIM allows allows sending text messages, images, or and geolocation to the Telegram chat on any event from any object created in the Axxon PSIM objects registered in the objects tree. After configuration, the message sending is initiated by a macro or a script from the Axxon PSIM script.
Create the Before you start configuring the message sending from Axxon PSIM to Telegram, you must create a bot and the group chat with it this bot in Telegram before configuring the message sending from Axxon PSIM to Telegramthe messenger. You can use the pre-created and configured bot configured @Axxon PSIMNotificationsBot. For the distribution package and the user guide for Telegram messenger, see the developer official website telegram.org official developer website.
To configure the message sending from Axxon PSIM to Telegram, do the following:
In the Bot ID field (3), enter the Telegram bot identification number.
| Info | ||
|---|---|---|
| ||
The identification number is provided when creating the you create a bot. @Axxon PSIMNotificationsBot bot identifier is: 474299886:AAGFKHcC8ARX9ziXgTlvKnwNhxnwlDhmD3M |
In the Chat ID field (4), enter the chat identification numberidentifier.
| Info | ||
|---|---|---|
| ||
To find out the chat identifier of the chat, you can add the @RawDataBot bot to the chat.After adding When you add it, the bot will send 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 can be removed from the chat. |
Configuring the message sending from Axxon PSIM to sending to Telegram is complete.
Macro to send a the text message:
Macro to send an imagemedia files:
Macro to send geolocation:
...