Go to documentation repository
Page History
...
The TELEGRAM object sends events presented in the table. Procedure The procedure is started when the corresponding event appearsoccurs.
| Code Block |
|---|
OnEvent("TELEGRAM","_id_","_event_") |
Event | Event description | Event | Description | Comment |
ERROR | Error of message Message sending .error | The error<> parameter contains the test a text description of the error. |
Format of operator to describe actions with mail message is following:
...
List of commands and parameters for the TELEGRAM object is given in the table:
Command – —command description | Parameters | Description | ||
SEND | " – —send | mail message.text<> | Message text | |
| chat_id<> | Chat identifier | |||
| bot_id<> | Bot identifier | "SEND_RAW" – send e-mail with parameters|||
| longtitude<> | Geolocation longtitude | |||
| latitude<> | Geolocation latitude | |||
| address<> | Geolocation text address | |||
| SENDPHOTO—send photo | photo<> | Full path to the image file | ||
| caption<> | Text comment to the fileFile caption | |||
| chat_id<> | Chat identifier | |||
| bot_id<> | Bot identifier |
Examples of calling the command for sending a message to Telegram by macro:
...
| longtitude<> | Geolocation longtitude |
| latitude<> | Geolocation latitude |
| address<> | Geolocation text address |
Overview
Content Tools