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 is a one-to-one chat, the user ID of the remote user will be returned; otherwise, null will be returned.
|
inline |
If the conversation is a group chat, the group ID will be returned; otherwise, null will be returned.
|
inline |
Get the conversation display name. The 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 the draft of an unsent message (a draft message is stored locally only and will be lost after the app is reinstalled)
|
inline |
Get the UTC timestamp when the draft was last set
|
inline |
Get a list of @ messages. This API can be used to notify a user when they are mentioned or all members are mentioned in a group.
|
inline |
Whether to pin on top
|
inline |
The field by which conversations are sorted (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 |
The conversation group 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 |
Star a conversation
|
static |
Mark a conversation as unread
|
static |
Fold a conversation
|
static |
Hide a conversation