You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: i18n/en/docusaurus-plugin-content-docs-restapi/current/apis/conversationManagement/getConversationList.mdx
+47-45Lines changed: 47 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,29 @@
1
-
2
1
---
3
-
sidebar_position: 8
4
-
title: Getting a Sorted List of Sessions
2
+
sidebar_position: 15
3
+
title: get_conversationList
5
4
hide_title: true
6
5
---
7
6
8
7
<center>
9
-
## Getting a Sorted List of Sessions
8
+
9
+
## get_conversationList
10
+
10
11
</center>
11
12
12
13
### Brief Description
13
-
-Obtain a sorted list of conversations based on whether they are pinned and the time messages were sent
14
+
-Retrieve a sorted list of conversations based on whether they are pinned and the order of message sending time.
| sessionType | No | string |Session type, 1 for individual chat, 2 for group chat (normal spread), 3 for large group (spread through reading interface), 4 for notification session |
142
-
| recvID | No | string | Receiver ID|
143
-
|SendID| No | string | Sender ID|
144
-
| faceURL | No | string | Avatar URL. In individual chat, when the sender is the current user, this field is the friend's avatar URL |
145
-
| senderName | No | string | Sender's nickname. In individual chat, when the sender is the current user, this field is the friend's nickname. In group chat, this field is the corresponding sender's nickname |
146
-
| LatestMsgRecvTime | No | string | Last message's receive time|
147
-
| msgFrom | No | string |Message origin, 100 from user sent, 200 from admin sent or system broadcast notifications etc.|
148
-
| content | Yes | object | Detailed content of the message, internal is a json object, for other message details refer to [Message Type Format Description](/restapi/contentDescription) document |
149
-
| contentType | Yes | int |[Message Type](/restapi/contentDescription)|
150
-
| groupID | No | string | Group chat ID|
151
-
| groupName | No | string | Group chat name|
152
-
| groupFaceURL | No | string | Group chat avatar URL |
153
-
| groupMemberCount | No | string | Group chat member count|
154
-
| IsPinned | No | string |Whether the conversation is pinned |
| errMsg | string | Brief error message, empty if no error|
134
+
| errDlt | string | Detailed error message,empty if no error|
135
+
| data| object | Common data object, see below for specific structure|
136
+
| conversationElems | array | -|
137
+
| conversationID | string | Conversation ID|
138
+
| recvMsgOpt | int|Group chat message do not disturb|
139
+
| unreadCount | int| Number of unread messages |
140
+
| msgInfo | object | Message content|
141
+
| serverMsgID | string | Server message ID|
142
+
| clientMsgID | string | Client message ID|
143
+
| sessionType | int|Session type, 1 for individual chat, 2 for group chat, 3 for large group, 4 for notification session |
144
+
| recvID | string | Receiver ID|
145
+
|sendID| string | Sender ID|
146
+
| faceURL | string | Avatar URL. In individual chat, this field is the friend's avatar URL when the sender is the current user|
147
+
| senderName | string | Sender's nickname. In individual chat, this field is the friend's nickname when the sender is the current user. In group chat, it is the corresponding sender's nickname |
148
+
| LatestMsgRecvTime | long| Time of receiving the last message|
149
+
| msgFrom | int|Message source, 100 from user, 200 from admin or system broadcast notification |
150
+
| content | object | Detailed content of the message, internal is a json object, for other message details refer to [Message Type Format Description](/restapi/contentDescription) document |
151
+
| contentType | int |[Message Type](/restapi/contentDescription)|
152
+
| groupID | string | Group chat ID|
153
+
| groupName | string | Group chat name|
154
+
| groupFaceURL | string | Group chat avatar URL|
155
+
| groupMemberCount | int| Number of group chat members |
156
+
| IsPinned | bool|Whether the conversation is pinned|
0 commit comments