Creates a paginated query for listing channels.
Query parameters
A ChannelsQuery instance
Gets channels that have unread messages.
Filter by channel types
A promise resolving to the list of channels with unread messages
Gets pinned (top) channels filtered by channel types.
Filter by channel types
A promise resolving to the list of pinned channels
Deletes channels by their identifiers.
The channel identifiers to delete
A promise resolving to the operation result
Sets the do-not-disturb level for all channels of a specific type.
The channel type and level parameters
A promise resolving to the operation result
Gets the do-not-disturb level applied to all channels of a specific type.
Creates a query for channels with unread messages that mention the current user.
Query parameters
An UnreadMentionMeChannelsQuery instance
Gets the total unread message count across all channels.
A promise resolving to the total unread count
Gets the total unread message count filtered by do-not-disturb levels and channel types.
Filter parameters
A promise resolving to the filtered unread count
Creates a paginated query for users who have read a specific message.
Query parameters
A MessagesReadReceiptUsersQuery instance
Reloads this channel from the server and returns a fresh BaseChannel instance.
Pins this channel to the top of the channel list.
A promise resolving to the operation result
Unpins this channel from the top of the channel list.
A promise resolving to the operation result
Deletes this channel.
A promise resolving to the operation result
Removes tags from this channel.
The tag IDs to remove
A promise resolving to the operation result
Sets the do-not-disturb level for this channel.
The notification level to apply
A promise resolving to the operation result
Clears the unread message count for this channel.
A promise resolving to the operation result
Saves a draft text for this channel.
The draft text to save
A promise resolving to the operation result
Clears the saved draft text for this channel.
A promise resolving to the operation result
Gets messages by their server-side message IDs.
The query parameters
A promise resolving to a map of message ID to message (or undefined if not found)
Clears messages in this channel before a specific timestamp.
The clear parameters
A promise resolving to the operation result
Sends a message in this channel.
The type of the message content
The send message parameters
A promise resolving to the sent message
Sends a media message (image, file, voice, etc.) that requires file upload.
The type of the message content
The send media message parameters (must include a file)
A promise resolving to the sent message
Sends read receipt responses for the specified messages.
The message IDs to acknowledge as read
A promise resolving to the operation result
Gets read receipt information for messages in this channel.
The message IDs to query
A promise resolving to the read receipt info list
Gets read receipt status for specific users on a message.
The query parameters
A promise resolving to the read receipt user list
Gets read receipt information for messages across different channels.
Array of message identifiers (channel + message ID)
A promise resolving to the read receipt info list
Modifies (edits) a sent message's content.
The type of the message content
The modification parameters (message and new content)
A promise resolving to the operation result
Refreshes the quoted content of reference messages to get the latest version.
The reference messages to refresh
A promise resolving to the refresh results
Creates a paginated query for message history.
Query parameters
A MessagesQuery instance
The channel ID
The channel type
The do-not-disturb level for this channel
Whether this channel is pinned (stuck to top)
The unread message count for this channel
The last operation timestamp (ms) on this channel
The saved draft text for this channel
The latest message in this channel, or null if none
The translate strategy applied to this channel
Whether this channel includes robot/bot users
The sub-channel ID within the community
The community sub-channel identifier
The type of this sub-channel (public or private)
Parent community channel ID
Sub-channel ID within the community
Represents a sub-channel within a community (ultra group).