Properties | |
V2TIMConversationType | type |
NSString * | conversationID |
NSString * | userID |
NSString * | groupID |
NSString * | groupType |
NSString * | showName |
NSString * | faceUrl |
int | unreadCount |
V2TIMReceiveMessageOpt | recvOpt |
V2TIMMessage * | lastMessage |
NSArray< V2TIMGroupAtInfo * > * | groupAtInfolist |
NSString * | draftText |
NSDate * | draftTimestamp |
BOOL | isPinned |
NSUInteger | orderKey |
NSArray< NSNumber * > * | markList |
NSData * | customData |
NSArray< NSString * > * | conversationGroupList |
NSUInteger | c2cReadTimestamp |
NSUInteger | groupReadSequence |
|
readnonatomicassign |
Conversation type.
|
readnonatomicstrong |
Unique ID of a conversation. For one-to-one chats, the value format is String.format("c2c_%s", "userID"). For group chats, the value format is String.format("group_%s", "groupID").
|
readnonatomicstrong |
If the conversation is a one-to-one chat, the user ID of the remote user will be returned; otherwise, nil will be returned.
|
readnonatomicstrong |
If the conversation is a group chat, the group ID will be returned; otherwise, nil will be returned.
|
readnonatomicstrong |
Group type of a conversation (valid for group conversations only)
|
readnonatomicstrong |
Get the conversation display name. The priorities are as follows:
|
readnonatomicstrong |
Conversation display profile photo.
|
readnonatomicassign |
Count of unread messages in a conversation.
|
readnonatomicassign |
Message receiving option for a conversation (Receive | Receive but not notify | Not receive)
|
readnonatomicstrong |
Last message of a conversation
|
readnonatomicstrong |
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.
|
readnonatomicstrong |
Get the draft of an unsent message (a draft message is stored locally only and will be lost after the app is reinstalled)
|
readnonatomicstrong |
Get the UTC timestamp when the draft was last set.
|
readnonatomicassign |
Whether to pin on top.
|
readnonatomicassign |
The field by which conversations are sorted (supported only in 5.5.892 and later)
|
readnonatomicstrong |
Mark list of the conversation(supported only in 6.5 and later versions)
|
readnonatomicstrong |
Custom data of the conversation(supported only in 6.5 and later versions)
|
readnonatomicstrong |
The conversation group list to which the conversation belongs.(supported only in 6.5 and later versions)
|
readnonatomicassign |
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)
|
readnonatomicassign |
Sequence of the latest message which has been read. Valid only for group chat.(supported only in 7.1 and later versions)