Documentation Index
Fetch the complete documentation index at: https://wukong.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Concept Explanation
What is a Conversation?
A Conversation is the interaction record between a user and a specific channel, containing the user’s message history in that channel, unread status, last active time, and other information. Conversations are the fundamental data structure for chat lists in user interfaces.Why are Conversations Important?
- Chat List: The conversation list is the chat list that users see, displaying all ongoing conversations
- Unread Management: Conversations record the number of unread messages for each chat, helping users quickly understand which chats have new messages
- Quick Access: Through the conversation list, users can quickly access recent chat records
Relationship with Other Concepts
- Channel: Each conversation corresponds to a channel; the conversation’s
channel_idis the channel’s ID - Message: Conversations display the last message of that channel and the number of unread messages
- User: Conversations belong to specific users; different users see different conversation lists
Core Structure
Conversations contain the following core attributes:| Attribute | Type | Description |
|---|---|---|
channel_id | string | Channel identifier |
channel_type | integer | Channel type (1=personal, 2=group) |
unread | integer | Number of unread messages |
last_msg_seq | integer | Last message sequence number |
timestamp | integer | Last update timestamp |
version | integer | Conversation version number |
Conversation Example
Related API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/conversation/sync | POST | Sync conversation list |
/conversation/setUnread | POST | Set unread count |
/conversation/clearUnread | POST | Clear unread count |
/conversation/delete | POST | Delete conversation |
EasySDK Code Examples
Conversation Management
Clear Unread Messages
Conversations are sorted by last message time and serve as the fundamental data structure for chat lists in user interfaces.

