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
MESSAGE_ID
1
Yes
Message ID (any message sent in private conversations or group chats with chatbot available)
18
ACTION
auto
No
Action, associated with the method: plus - set the "Like"; minus - removes the "Like"; auto - automatically calculates if the Like is to be set. When parameter is not specified, operates in auto mode