Skip to main content
Data source management is one of the core functions of WuKongIM SDK, responsible for handling key business logic such as file upload/download, conversation sync, channel information retrieval, and message sync.

File Management

Listen for Attachment Upload

When sending custom attachment messages, the message sent to the recipient is a network address, not the actual file. In this case, we need to listen for attachment uploads.

Listen for Attachment Download

The SDK will not actively download message attachments. When receiving messages with attachments, the app needs to download them as needed. After the app completes the download, it can change the local file address to avoid repeated downloads.

Complete File Management Example

Recent Conversation Data Source

Channel Information Data Source

Built-in channel types in SDK can be viewed through WKChannelType

Channel Member Data Source

Channel Message Data Source

Next Steps

Advanced Features

Explore advanced features and optimization

Channel Member Management

Return to channel member management

Integration Guide

Return to integration guide

Message Management

Return to message management functionality