Channel Management
Set Temporary Channel Subscribers
Set subscribers for a temporary channel (Internal API)
POST
Overview
Set subscribers for a temporary channel. This is an internal API used for cluster node communication to manage temporary channel subscriptions. Temporary channels are used for special scenarios such as temporary groups or sessions, and automatically create and manage channel tags.Request Body
Required Parameters
string
required
Temporary channel ID, cannot contain special characters
Response Fields
string
required
Operation status, returns
"ok" on successStatus Codes
Temporary Channel Mechanism
Temporary Channel Features
- Temporary Nature: Used for special scenarios like temporary groups or sessions
- Auto Management: System automatically creates and manages channel tags
- Cluster Communication: Primarily used for internal communication between cluster nodes
- Subscription Management: Supports dynamic setting of subscriber lists
Use Cases
Important Notes
Parameter Restrictions
- Channel ID: Cannot be empty, cannot contain special characters
- User List: Must contain at least one user ID
- Character Length: Channel ID maximum 64 characters
Error Handling
Best Practices
- Internal Use Only: Avoid calling directly in client applications
- Parameter Validation: Ensure all parameters are correctly formatted
- Error Handling: Implement comprehensive error handling mechanisms
- Monitor Logs: Record API calls for troubleshooting
- Cluster Status: Ensure cluster status is normal before calling
Related APIs
- Create Channel - Create standard channels
- Add Channel Subscribers - Add standard channel subscribers
- Remove Channel Subscribers - Remove standard channel subscribers

