Skip to main content
Recent conversation management is one of the core functions of WuKongIM HarmonyOS SDK, responsible for managing user conversation lists, unread message statistics, and conversation state changes.

Get Recent Conversations

All Recent Conversations

Complete Conversation Retrieval Example

New Message Listening

Only when opening the app for the first time, you need to sync the recent conversation list. Subsequent changes to the recent conversation list are obtained through listening.

Delete Recent Conversations

After calling delete recent conversation, it will trigger a delete recent conversation event. The UI can listen for delete recent conversation events and delete the conversation from the UI.

Complete Conversation Management Example

Data Structure Description

WKConversation Object

Next Steps

Data Source Configuration

Configure conversation data sources and sync logic

Advanced Features

Explore custom messages and advanced features

Channel Management

Return to channel management functionality

Message Management

Return to message handling functionality