Const
移除指定的会话
移除指定的会话,不会删除会话内的消息
会话信息
是否删除服务器端会话,该参数仅 Electron 平台有效
移除指定的会话示例:
const options = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId',}const conversation = await RongIMLib.removeConversation(options);console.info('移除指定的会话结果:', conversation); Copy
const options = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId',}const conversation = await RongIMLib.removeConversation(options);console.info('移除指定的会话结果:', conversation);
移除指定的会话