Intellect allows sending text messages, images, or geolocation to Telegram chat on any event from any object created in the Intellect objects tree. After configuration, the message sending is initiated by a macro or a script from Intellect.
Create the bot and the group chat with it in Telegram before configuring the message sending from Intellect to Telegram. You can use the pre-created and configured bot @IntellectNotificationsBot. For the distribution package and the user guide for Telegram messenger, see the developer official website telegram.org.
To configure message sending from Intellect to Telegram, do the following:
In the Bot ID field (3), enter the Telegram bot identification number.
The identification number is provided when creating the bot. |
In the Chat ID field (4), enter the chat identification number.
To find out the chat identifier, 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 Intellect to Telegram is complete.
Macro to send a text message:
Macro to send an image:
Macro to send geolocaton:
See also examples of commands inĀ TELEGRAM.