ConversationInfo
Description
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 | Face URL |
| recvMsgOpt | int | Receive message opt 0: Normal; 1: Do not accept messages; 2: Accept online messages but not offline messages |
| unreadCount | int | Unread count |
| groupAtType | int | @ type |
| latestMsgSendTime | int | Latest message send time (milliseconds) |
| draftText | String | Draft |
| draftTextTime | int | Draft creation time |
| isPinned | bool | Pinned or not |
| isPrivateChat | bool | Whether burn after reading is turned on |
| burnDuration | int | Burn after reading duration (seconds) |
| isNotInGroup | bool | Currently unused |
| attachedInfo | String | Currently unused |
| 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 | Face URL |
| recvMsgOpt | OIMReceiveMessageOpt | Message receive opt |
| unreadCount | NSInteger | Unread count |
| groupAtType | OIMGroupAtType | @ type |
| latestMsgSendTime | NSInteger | Latest message send time (milliseconds) |
| draftText | NSString | Draft |
| draftTextTime | NSInteger | Draft creation time |
| isPinned | BOOL | Pinned or not |
| isPrivateChat | BOOL | Whether burn after reading is turned on |
| burnDuration | NSTimeInterval | Burn after reading duration (seconds) |
| isNotInGroup | BOOL | Currently unused |
| attachedInfo | NSString | Currently unused |
| 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 | Face URL |
| recvMsgOpt | int | Message receive opt 0: Normal; 1: Do not accept messages; 2: Accept online messages but not offline messages |
| unreadCount | int | Unread count |
| groupAtType | int | @ type GroupAtType |
| latestMsgSendTime | int | Latest message send time (milliseconds) |
| isPinned | boolean | Pinned or not |
| isPrivateChat | boolean | Whether burn after reading is turned on |
| burnDuration | int | Burn after reading duration (seconds) |
| isNotInGroup | boolean | Currently unused |
| attachedInfo | String | Currently unused |
| 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 face URL |
| recvMsgOpt | MessageReceiveOptType | Message receive opt |
| 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 | Pinned or not |
| isPrivateChat | boolean | Whether burn after reading is turned on |
| burnDuration | number | Burn after reading duration (seconds) |
| isNotInGroup | boolean | Currently unused |
| attachedInfo | string | Currently unused |
| latestMsg | string | Latest message |
| ex | string | Conversation 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 face URL |
| recvMsgOpt | MessageReceiveOptType | Message receive opt |
| 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 | Pinned or not |
| isPrivateChat | boolean | Whether burn after reading is turned on |
| burnDuration | number | Burn after reading duration (seconds) |
| isNotInGroup | boolean | Currently unused |
| attachedInfo | string | Currently unused |
| latestMsg | string | 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 face URL |
| recvMsgOpt | MessageReceiveOptType | Message receive opt |
| 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 | Pinned or not |
| isPrivateChat | boolean | Whether burn after reading is turned on |
| burnDuration | number | Burn after reading duration (seconds) |
| isNotInGroup | boolean | Currently unused |
| attachedInfo | string | Currently unused |
| latestMsg | string | Latest message |
| ex | string | Extension field |
Conversation
| Field Name | Field Type | Description |
|---|---|---|
| ConversationID | string | Conversation ID |
| ConversationType | ConversationType | Conversation type |
| UserID | string | User ID |
| GroupID | string | Group ID |
| ShowName | string | Display name |
| FaceURL | string | Face URL |
| RecvMsgOpt | ReceiveMessageOpt | Message receive opt |
| UnreadCount | int | Unread count |
| GroupAtType | GroupAtType | @ type |
| LatestMsgSendTime | int | Latest message send time (milliseconds) |
| DraftText | string | Draft |
| DraftTextTime | integer | Draft creation time |
| IsPinned | bool | Pinned or not |
| IsPrivateChat | bool | Whether burn after reading is turned on |
| BurnDuration | int | Burn after reading duration (seconds) |
| IsNotInGroup | bool | Currently unused |
| AttachedInfo | string | Currently unused |
| LatestMsg | MessageInfo | Latest message |
| Ex | string | Extension field |