Go to documentation repository
Previous page Next page
The TELEGRAM object corresponds to the Messenger bot system object.
The TELEGRAM object sends events presented in the table. The procedure is started when the corresponding event occurs.
Event | Description of the event | Comment |
ERROR | Message sending error | The error<> parameter contains a text description of the error |
The list of commands and parameters for the TELEGRAM object is given in the table:
Command—command description | Parameters | Description |
|---|---|---|
SEND—send | text<> | Text of a message |
| chat_id<> | Chat identifier | |
| bot_id<> | Bot identifier | |
| longtitude<> | Geolocation longtitude | |
| latitude<> | Geolocation latitude | |
| address<> | Geolocation text address | |
| SENDPHOTO—send photo | photo<> | Full path to the image file |
| caption<> | File caption | |
| chat_id<> | Chat identifier | |
| bot_id<> | Bot identifier | |
| longtitude<> | Geolocation longtitude | |
| latitude<> | Geolocation latitude | |
| address<> | Geolocation text address |