Personal channels and group channels are collectively called channels. Personal information and group information are collectively called channel information.
This documentation only covers core methods. For more details, check the
[WKSDK shared].channelManager interface in the code.Getting Channel Information
Basic Retrieval Method
Get channel information from the client’s local storage. If not available locally, callfetchChannelInfo to trigger the data source to request from the server.
When fetchChannelInfo is called and channel information data is obtained, it will trigger data monitoring. In the listener, refresh the UI again, and then [[WKSDK shared].channelManager getChannelInfo:channel] will be able to get the channel information data.
Data Monitoring
Trigger timing: When channelInfo data changes
Add WKChannelManagerDelegate delegate:
WKChannelManagerDelegate description:
Data Source
Trigger timing: Triggered when calling [[WKSDK shared].channelManager fetchChannelInfo]
Channel information data source, needs to implement logic to request channel information from server:
Modifying Channels
Data Operations
Modify channel information (triggers data monitoring simultaneously):Example Usage
Channel Settings Management
Pin/Unpin Channel
Mute/Unmute Channel
Update Channel Avatar and Name
Batch Operations
Get Multiple Channel Information
Batch Update Channel Settings
Core Class Properties
Channel Follow Status
Channel Status
Best Practices
1. Efficient Channel Info Loading
2. Handle Channel Settings Changes
Next Steps
Conversation Management
Learn how to manage conversation lists
Media Messages
Handle images, voice, and video messages
Chat Management
Return to chat message management
Connection Management
Manage connection status

