Axxon Next allows you to send text notifications to Telegram chat when any event occurs from the objects registered in the Axxon Next objects tree. Once configured, the notification sending is initiated by the Axxon Next macro.
Before configuring notifications sending from Axxon Next to Telegram, create a bot and a group chat with this bot in Telegram. For the distribution package and manuals on working with Telegram, see the developer's official website telegram.org.
To configure notification sending in Telegram bot, do the following:
Select the "General: Execute web-query" action.
Select the authentication method: Basic or Digest (1). By default, the Basic authentication method is selected.
The ID is provided when you create the bot |
To find out the ID of the chat, add the @RawDataBot bot to the chat. After adding, the bot will send a message to the chat that will contain the result of the execution of the getUpdates function. Find ChatId in the message. Then remove the @RawDataBot bot from the chat. |
When using the "General: Execute web-query" action, all fields for sending a web-query to the specified server can be filled in (see Executing a Web-query). However, the Username, Password and Query fields are not required for sending a notification via Telegram bot.