Chat Tags

Chat Tags is a feature which allows users to filter the recent chat. if you want to filter your chats by seprate titles then you can utilise the below methods.

Create or Update Chat Tag#

You can create or update a chat tag by using the below method.

    ChatManager.createOrUpdateChatTagdata(chatTag: chatTagModel) { isSuccess, error, data in
    }
    ArgumentTypeDescription
    chatTagchatTagModel"Class" which has chat tag data

    Note : To know more about chatTagModel, refer class documentation.

    Get List of Created Chat Tags#

    To get a list of created chat tags by using the below method.

      ChatManager.getChatTagdata(completionHandler: { isSuccess, error, data in
      })

      Re-order Chat Tags#

      To re-order a chat tags list use the below method.

        ChatManager.reorderChatTags(chatTags: chatTags) { isSuccess, error, data in
        }
        ArgumentTypeDescription
        chatTags[chatTagModel]Array of chatTagModel class

        Delete Chat Tag#

        To delete a chat tags use the below method.

          ChatManager.deleteChatTag(chatTag: chatTag) { isSuccess, error, data in
          }
          ArgumentTypeDescription
          chatTagchatTagModel"Class" which has chat tag data