Views: 4781
Last Modified: 23.03.2022

MethodMethod description
im.recent.get List of recent user conversations. Pins conversation in favorites.
im.recent.hide Deletes conversation in the list of recent chats.

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:

МетодMethod description
im.recent.unread Marks conversation or chat as "unread".
im.recent.list Gets list of recent user conversations (with pagination support).

Courses developed by Bitrix24