Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
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.
Configuring message sending from Intellect to Telegram
To configure message sending from Intellect to Telegram, do the following:
- Create the Telegram bot object on the basis of the Computer object on the Hardware tab of the System settings dialog box (1).
- If the Proxy server should be used to send messages, enter the Proxy server address in the Proxy field (2).
In the Bot ID field (3), enter the Telegram bot identification number.
Note
The identification number is provided when creating the bot.
@IntellectNotificationsBot bot identifier is 474299886:AAGFKHcC8ARX9ziXgTlvKnwNhxnwlDhmD3MIn the Chat ID field (4), enter the chat identification number.
Note
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.
- Click the Apply button (5).
Configuring message sending from Intellect 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.