从指定会话中删除多个标签
会话信息,包含会话类型、会话 ID 和 channelId,类型为 IConversationOption
要删除的标签列表
从指定会话中删除多个标签,此操作仅解除会话与标签的关系,并不会删除会话数据
const conversation = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId',};const tagIds = ['tagId1', 'tagId2'];const res = await RongIMLib.removeTagsFromConversation(conversation, tagIds);console.log('从指定会话中删除多个标签结果:', res); Copy
const conversation = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId',};const tagIds = ['tagId1', 'tagId2'];const res = await RongIMLib.removeTagsFromConversation(conversation, tagIds);console.log('从指定会话中删除多个标签结果:', res);
从指定会话中删除多个标签