Community Channel
Community channel.
A channel type that supports sub-channel management, similar to a Discord server. A community channel can contain multiple sub-channels, enabling topic-based message organization.
Properties
Sent timestamp (milliseconds) of the first unread message. Only valid for community channels.
Whether this channel is pinned within a tag. Only valid when the channel is retrieved via a tag query.
Number of sub-channels.
The sub-channel ID that this channel belongs to.
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
Clears the unread message count for this community channel (with sub-channel).
Sent timestamp (milliseconds) of the first unread message. Only valid for community channels.
Number of sub-channels.
The sub-channel ID that this channel belongs to.
Gets all sub-channels of this community channel.
Gets the unread message count for this community channel (with sub-channel).
Gets unread mentioned messages in this community channel.
Whether this channel is pinned within a tag. Only valid when the channel is retrieved via a tag query.
Pins this community channel (sub-channel) to the top.
Sent timestamp (milliseconds) of the first unread message. Only valid for community channels.
Number of sub-channels.
The sub-channel ID that this channel belongs to.
Whether this channel is pinned within a tag. Only valid when the channel is retrieved via a tag query.
Unpins this community channel (sub-channel) from the top.
Inherited functions
Clears the text message draft 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 read receipt info by message identifiers.
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.
Batch inserts messages into the local database.
Modifies a sent message.
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.