RongIMLib View Markdown
    Preparing search index...

    Function removeTagsFromConversation

    • 从指定会话中删除多个标签

      Parameters

      Returns Promise<RCResult<void>>

      从指定会话中删除多个标签,此操作仅解除会话与标签的关系,并不会删除会话数据

      const conversation = {
      conversationType: RongIMLib.ConversationType.PRIVATE,
      targetId: 'targetId',
      };
      const tagIds = ['tagId1', 'tagId2'];
      const res = await RongIMLib.removeTagsFromConversation(conversation, tagIds);
      console.log('从指定会话中删除多个标签结果:', res);