ConversationInfo
Feature Introduction
info
Conversation Information
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- React-Native
- Unity
ConversationInfo
Field Name | Field Type | Description |
---|---|---|
conversationID | String | Conversation ID |
conversationType | int | Conversation Type |
userID | String | User ID |
groupID | String | Group ID |
showName | String | Display Name |
faceURL | String | Avatar |
recvMsgOpt | int | Receive Message Disturbance Options: 0: Normal; 1: No messages; 2: Online messages only |
unreadCount | int | Unread Count |
groupAtType | int | @ Type |
latestMsgSendTime | int | Latest Message Send Time (milliseconds) |
draftText | String | Draft |
draftTextTime | int | Draft Creation Time |
isPinned | bool | Is Pinned |
isPrivateChat | bool | Private Chat enabled (read & burn) |
burnDuration | int | Burn Duration after reading (seconds) |
isNotInGroup | bool | Not Used |
attachedInfo | String | Not Used |
latestMsg | Message | Latest Message |
ex | String | Extension Field |
OIMConversationInfo
Field Name | Field Type | Description |
---|---|---|
conversationID | NSString | Conversation ID |
conversationType | OIMConversationType | Conversation Type |
userID | NSString | User ID |
groupID | NSString | Group ID |
showName | NSString | Display Name |
faceURL | NSString | Avatar |
recvMsgOpt | OIMReceiveMessageOpt | Message Disturbance Status |
unreadCount | NSInteger | Unread Count |
groupAtType | OIMGroupAtType | @ Type |
latestMsgSendTime | NSInteger | Latest Message Send Time (milliseconds) |
draftText | NSString | Draft |
draftTextTime | NSInteger | Draft Creation Time |
isPinned | BOOL | Is Pinned |
isPrivateChat | BOOL | Private Chat enabled (read & burn) |
burnDuration | NSTimeInterval | Burn Duration after reading (seconds) |
isNotInGroup | BOOL | Not Used |
attachedInfo | NSString | Not Used |
latestMsg | OIMMessageInfo | Latest Message |
ex | NSString | Extension Field |
ConversationInfo
Field Name | Field Type | Description |
---|---|---|
conversationID | String | Conversation ID |
conversationType | int | Conversation Type ConversationType |
userID | String | User ID |
groupID | String | Group ID |
showName | String | Display Name |
faceURL | String | Avatar |
recvMsgOpt | int | Message Disturbance Status: 0: Normal; 1: No messages; 2: Online messages only |
unreadCount | int | Unread Count |
groupAtType | int | @ Type GroupAtType |
latestMsgSendTime | int | Latest Message Send Time (milliseconds) |
isPinned | boolean | Is Pinned |
isPrivateChat | boolean | Private Chat enabled (read & burn) |
burnDuration | int | Burn Duration after reading (seconds) |
isNotInGroup | boolean | Not Used |
attachedInfo | String | Not Used |
latestMsg | Message | Latest Message |
ex | String | Extension Field |
ConversationItem
Field Name | Field Type | Description |
---|---|---|
conversationID | string | Conversation ID |
conversationType | SessionType | Conversation Type |
userID | string | User ID |
groupID | string | Group ID |
showName | string | Conversation Name |
faceURL | string | Conversation Avatar |
recvMsgOpt | MessageReceiveOptType | Message Disturbance Status |
unreadCount | number | Unread Count |
groupAtType | GroupAtType | Mention Type |
latestMsgSendTime | number | Latest Message Send Time (milliseconds) |
draftText | string | Draft |
draftTextTime | number | Draft Creation Time |
isPinned | boolean | Is Pinned |
isPrivateChat | boolean | Private Chat enabled (read & burn) |
burnDuration | number | Burn Duration after reading (seconds) |
isNotInGroup | boolean | Not Used |
attachedInfo | string | Not Used |
latestMsg | string | Latest Message |
ex | string | Extension Field |
ConversationItem
Field Name | Data Type | Description |
---|---|---|
conversationID | string | Conversation ID |
conversationType | SessionType | Conversation Type |
userID | string | User ID |
groupID | string | Group ID |
showName | string | Conversation Name |
faceURL | string | Conversation Avatar |
recvMsgOpt | MessageReceiveOptType | Message Do Not Disturb Status |
unreadCount | number | Unread Count |
groupAtType | GroupAtType | Strong Reminder Type |
latestMsgSendTime | number | Latest Message Send Time (milliseconds) |
draftText | string | Draft |
draftTextTime | number | Draft Creation Time |
isPinned | boolean | Is Pinned |
isPrivateChat | boolean | Is Burn After Reading Enabled |
burnDuration | number | Burn After Reading Time (seconds) |
isNotInGroup | boolean | Not in Use |
attachedInfo | string | Not in Use |
latestMsg | string | Latest Message |
ex | string | Extended Field |
ConversationItem
Field Name | Data Type | Description |
---|---|---|
conversationID | string | Conversation ID |
conversationType | SessionType | Conversation Type |
userID | string | User ID |
groupID | string | Group ID |
showName | string | Conversation Name |
faceURL | string | Conversation Avatar |
recvMsgOpt | MessageReceiveOptType | Message Do Not Disturb Status |
unreadCount | number | Unread Count |
groupAtType | GroupAtType | Strong Reminder Type |
latestMsgSendTime | number | Latest Message Send Time (milliseconds) |
draftText | string | Draft |
draftTextTime | number | Draft Creation Time |
isPinned | boolean | Is Pinned |
isPrivateChat | boolean | Is Burn After Reading Enabled |
burnDuration | number | Burn After Reading Time (seconds) |
isNotInGroup | boolean | Not in Use |
attachedInfo | string | Not in Use |
latestMsg | string | Latest Message |
ex | string | Extended Field |
Conversation
Field Name | Data Type | Description |
---|---|---|
ConversationID | string | Conversation ID |
ConversationType | SessionType | Conversation Type |
UserID | string | User ID |
GroupID | string | Group ID |
showName | string | Conversation Name |
FaceURL | string | Conversation Avatar |
RecvMsgOpt | MessageReceiveOptType | Message Do Not Disturb Status |
UnreadCount | number | Unread Count |
GroupAtType | GroupAtType | Strong Reminder Type |
LatestMsgSendTime | number | Latest Message Send Time (milliseconds) |
DraftText | string | Draft |
DraftTextTime | number | Draft Creation Time |
IsPinned | boolean | Is Pinned |
IsPrivateChat | boolean | Is Burn After Reading Enabled |
BurnDuration | number | Burn After Reading Time (seconds) |
IsNotInGroup | boolean | Not in Use |
AttachedInfo | string | Not in Use |
LatestMsg | string | Latest Message |
Ex | string | Extended Field |