BaseChatModel

public abstract class BaseChatModel

Base class for conversation list entities

Author

shaunak

Since

2023-08-11

Constructors

Link copied to clipboard
public void BaseChatModel(Context context, Conversation conversation)

Properties

Link copied to clipboard
public boolean isEdit
Link copied to clipboard
public boolean isManualUnRead
Link copied to clipboard
public boolean isSelected
Link copied to clipboard
public Spannable mContent
Link copied to clipboard
public Conversation mCore

Functions

Link copied to clipboard
public Conversation currentConversation(String targetId)
Current Conversation
Link copied to clipboard
public ConversationIdentifier getConversationIdentifier()
Retrieves the conversation identifier.
Link copied to clipboard
public int getUnreadMessageCount()
Get the count of unread messages
Link copied to clipboard
public abstract void onConversationUpdate(Conversation conversation)
Conversation Update
Link copied to clipboard
public void onDraftUpdate(String draft)
Update conversation draft
Link copied to clipboard
public abstract void onGroupInfoUpdate(Group group)
Group information update
Link copied to clipboard
public abstract void onGroupMemberUpdate(GroupUserInfo groupMember)
Group Member Update
Link copied to clipboard
public abstract void onUserInfoUpdate(UserInfo user)
User Information Update
Link copied to clipboard
public void processResending(Conversation conversation)
If the lastMsg of the conversation is in the resend list, it needs to be updated to the sending state.