Revision
Get current information about current API revision (platform version) – im.revision.get
: 18
Attention: restCommand function is used here for illustration purposes only. It is taken from the EchoBot example. You can send a REST command with your own function, or use the BX24.callMethod or bitrix24-php-sdk methods.
Parameters
Parameter
Example
Required
Description
Revision
DIALOG_ID
chat13 or 256
Yes
Dialog ID. Format: chatXXX – recipient chat, in case of message for chat
or XXX – recipient ID, in case of private conversation message
18
MESSAGE
Message text
Yes
Message text
18
SYSTEM
N
No
Show message as a system message. Optional fields, 'N' by default.
18
ATTACH
No
Attachment
18
URL_PREVIEW
Y
No
Convert links to rich links. Optional field, 'Y' by default