Open Channel
Open channel.
A large-scale public channel similar to a chatroom, supporting a large number of concurrent participants. Users can create, enter, and leave open channels freely.
Inherits from BaseChannel and supports message querying and unread count management.
Inherited properties
Channel type
Draft info for an edited message.
Whether this channel contains a robot/bot user.
The latest message in this channel.
Unread count of mentioned messages (including @all).
Unread count of messages that specifically mention the current user.
Channel message push notification level.
Channel operation timestamp in milliseconds.
Channel translation strategy.
Unread message count.
Functions
Batch deletes metadata for this open channel.
Enters (joins) this open channel.
Exits (leaves) this open channel.
Gets metadata for this open channel by key.
Current participant count.
Sets metadata for this open channel.
Current participant count.
Inherited functions
Clears the text message draft for this channel.
Clears the unread message count for this channel.
Deletes this channel locally.
Deletes local messages by their client IDs.
Deletes a message for all users (recall).
Deletes messages locally (for the current user only).
Deletes messages before the specified timestamp (for the current user).
Removes tags from this channel.
Channel unique identifier
Channel type
Draft info for an edited message.
Gets the first unread message in this channel.
Whether this channel contains a robot/bot user.
The latest message in this channel.
Unread count of mentioned messages (including @all).
Unread count of messages that specifically mention the current user.
Gets read receipt info for the specified messages.
Gets messages around a given sent timestamp.
Gets read receipt details grouped by users.
Channel message push notification level.
Channel operation timestamp in milliseconds.
Gets all tags associated with this channel.
Channel translation strategy.
Unread message count.
Gets unread mentioned messages in this channel.
Batch inserts messages into the local database.
Modifies a sent message.
Pins this channel to the top of the channel list.
Reloads channel data from the local database.
Saves a text message draft for this channel.
Sends a media message in this channel (e.g., image, video, file).
Sends a non-media message in this channel (e.g., text, location).
Sends a read receipt response for the specified messages.
Sets the notification (do-not-disturb) level for this channel.
Unpins this channel from the top of the channel list.