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
Req.
Description
Revision
DIALOG_ID
chat17
Yes
Dialog ID. Format: chatXXX – recipient chat, when sending message to chat
19
PIN
Y
No
Pin or unpin a dialog
19
If the PIN = N parameter is specified, the pinned dialog will be unpinned.