Public Member Functions | |
String | getConversationID () |
int | getType () |
String | getUserID () |
String | getGroupID () |
String | getShowName () |
String | getFaceUrl () |
int | getRecvOpt () |
String | getGroupType () |
int | getUnreadCount () |
V2TIMMessage | getLastMessage () |
String | getDraftText () |
long | getDraftTimestamp () |
List< V2TIMGroupAtInfo > | getGroupAtInfoList () |
boolean | isPinned () |
long | getOrderKey () |
List< Long > | getMarkList () |
String | getCustomData () |
List< String > | getConversationGroupList () |
long | getC2CReadTimestamp () |
long | getGroupReadSequence () |
Static Public Attributes | |
static final int | CONVERSATION_TYPE_INVALID = 0 |
static final int | V2TIM_C2C = 1 |
static final int | V2TIM_GROUP = 2 |
static long | V2TIM_CONVERSATION_MARK_TYPE_STAR = 0x1 |
static long | V2TIM_CONVERSATION_MARK_TYPE_UNREAD = 0x1 << 1 |
static long | V2TIM_CONVERSATION_MARK_TYPE_FOLD = 0x1 << 2 |
static long | V2TIM_CONVERSATION_MARK_TYPE_HIDE = 0x1 << 3 |
|
inline |
Get the conversation ID
|
inline |
Get the conversation type
|
inline |
If the conversation type is one-to-one chat, the userID stores the user ID of the peer; otherwise, the userID is null
|
inline |
If the conversation type is group chat, the groupID stores the current group ID; otherwise, the groupID is null
|
inline |
Get the conversation display name. Conversation display name priorities are as follows:
|
inline |
Get the conversation display profile photo
|
inline |
Get the message receiving option (Receive | Receive but not notify | Not receive)
|
inline |
Get the group type (valid for group conversations only)
|
inline |
Get the unread count
|
inline |
Get the last message of the conversation
|
inline |
Get a draft message whose editing is not finished (a draft message is stored locally only and will get lost after the app is uninstalled and reinstalled)
|
inline |
Get UTC timestamp when the draft was last set
|
inline |
Get the @ information list of a group conversation, which is used to display "someone@me" or "@All" notifications
|
inline |
Whether to pin on top
|
inline |
orderKey (supported only in 5.5.892 and later)
|
inline |
Mark list of the conversation(supported only in 6.5 and later versions)
|
inline |
Custom data of the conversation(supported only in 6.5 and later versions)
|
inline |
Conversation group name list to which the conversation belongs.(supported only in 6.5 and later versions)
|
inline |
UTC timestamp of the latest message which has been read. Valid only for one-to-one chat.(supported only in 7.1 and later versions)
|
inline |
Sequence of the latest message which has been read. Valid only for group chat.(supported only in 7.1 and later versions)
|
static |
|
static |
|
static |
|
static |
Mark a conversation as star
|
static |
Mark a conversation as unread
|
static |
Fold a conversation
|
static |
Hide a conversation