Const
清除指定会话未读数
清除指定会话的未读数(不含聊天室会话类型) 注意:
会话信息
清除指定会话未读数示例:
const options = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId',}const clearRes = await RongIMLib.clearMessagesUnreadStatus(options);console.info('清除指定会话未读数结果:', clearRes); Copy
const options = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId',}const clearRes = await RongIMLib.clearMessagesUnreadStatus(options);console.info('清除指定会话未读数结果:', clearRes);
清除指定会话未读数