Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

The TELEGRAM object corresponds to the Telegram bot system object.

The TELEGRAM object sends events presented in the table. The procedure is started when the corresponding event occurs. 

Event

Description

Comment

ERROR

Message sending error

The error<> parameter contains the text description of the error

List of commands and parameters for the TELEGRAM object is given in the table:

Command command description

Parameters

Description

SEND send

text<>

Message text

chat_id<>Chat identifier
bot_id<>Bot identifier
longtitude<>Geolocation longtitude
latitude<>Geolocation latitude
address<>Geolocation text address
SENDPHOTO  send photophoto<>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



  • No labels