Get current information about current API revision (platform version) – im.revision.get
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.
Dialog ID. Format: chatXXX – recipient chat, when message is sent to chat
or XXX – recipient ID, when message is for private conversation