Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

"" – mail message."SEND_RAW" – send e-mail with parametersText comment to the file

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
SENDPHOTOsend photophoto<>Full path to the image file
caption<>File 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