Modifies the 'message read' status: all messages after the specified message (but including the message itself) are marked as unread
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
chat29
Yes
Dialog ID (chatXXX for chat and user ID for private dialog)
21
MESSAGE_ID
12
Yes
Dialog ID. Format: chatXXX – recipient chat in case of chat message
or XXX – recipient ID, in case of private conversation message