Chat Tags

Chat Tags is a feature which allows users to filter the recent chat. if you want to filter your chats by separate 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(ChatTagModel chatTag, (isSuccess, throwable, data) -> {
});
ArgumentTypeDescription
chatTagChatTagModelChatTagModel struct holds the chat tag data.
CALLBACKFlyCallbackFlyCallback implemented as lambda expression

Get List of Created Chat Tags#

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

ChatManager.getChatTagdata((isSuccess, throwable, data) -> {
}, isgetFromRecentChatPage);
ArgumentTypeDescription
isgetFromRecentChatPagebooleanTo get the chatTag data from recent chat or not
CALLBACKFlyCallbackFlyCallback implemented as lambda expression

Re-order Chat Tags#

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

ChatManager.reorderChatTags(List<ChatTagModel> chatTags,(isSuccess, throwable, data) -> {
});
ArgumentTypeDescription
chatTagsList<ChatTagModel>list of chatTagModel class
CALLBACKFlyCallbackFlyCallback implemented as lambda expression

Delete Chat Tag#

To delete a chat tags use the below method.

ChatManager.deleteChatTag(ArrayList<String> deleteTagIdList,(isSuccess, throwable, data) -> {
});
ArgumentTypeDescription
deleteTagIdListArrayList<String>ArrayList of chatTagId
CALLBACKFlyCallbackFlyCallback implemented as lambda expression