Views: 6824
Last Modified: 23.03.2022
Method | Method description |
im.dialog.messages.get |
Gets list of recent chat messages. |
im.dialog.read |
Modifies the 'message unread' status: all messages prior the specified message (but including the message itself) are marked as read. |
im.dialog.unread |
Modifies the 'message read' status: all messages after the specified message (but including the message itself) are marked as unread. |
|
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.
Methods, indicated using javascript method BX24.callMethod: