ChannelCapabilities

Predefined list of channel capabilities constants. Channel capabilities provide you information on which features are available for the current user. Channel capabilities are affected by a number of factors including:

  • User Permissions

  • Channel Type settings

  • Channel-level settings

Capabilities are the preferred way of deciding which actions should be available in the user interface.

Properties

Link copied to clipboard

Ability to ban channel members.

Link copied to clipboard

Ability to cast a vote in a poll.

Link copied to clipboard

Ability to receive connect events.

Link copied to clipboard
const val CREATE_CALL: String

"Ability to create a call.

Link copied to clipboard

Ability to delete any message from the channel.

Link copied to clipboard

Ability to delete the channel.

Link copied to clipboard

Ability to delete own messages from the channel.

Link copied to clipboard
const val FLAG_MESSAGE: String

Ability to flag a message.

Link copied to clipboard

Ability to freeze or unfreeze the channel.

Link copied to clipboard
const val JOIN_CALL: String

Ability to join a call.

Link copied to clipboard
const val JOIN_CHANNEL: String

Ability to join channel (add own membership).

Link copied to clipboard

Ability to leave the channel (remove own membership).

Link copied to clipboard
const val MUTE_CHANNEL: String

Ability to mute the channel.

Link copied to clipboard
const val PIN_MESSAGE: String

Ability to pin a message.

Link copied to clipboard

Ability to quote a message.

Link copied to clipboard
const val READ_EVENTS: String

Ability to receive read events.

Link copied to clipboard

Ability to use message search.

Link copied to clipboard

Ability to send custom events.

Link copied to clipboard
const val SEND_LINKS: String

Ability to attach links to messages.

Link copied to clipboard
const val SEND_MESSAGE: String

Ability to send a message.

Link copied to clipboard
const val SEND_POLL: String

Ability to send a poll.

Link copied to clipboard

Ability to send reactions.

Link copied to clipboard
const val SEND_REPLY: String

Ability to thread reply to a message.

Link copied to clipboard

Ability to send and receive typing events.

Link copied to clipboard

Ability to enable or disable slow mode.

Link copied to clipboard

Indicates that slow-mode should be skipped.

Link copied to clipboard
const val SLOW_MODE: String

Indicates that channel slow mode is active.

Link copied to clipboard

Ability to send and receive typing events.

Link copied to clipboard

Ability to update any message in the channel.

Link copied to clipboard

Ability to update channel data.

Link copied to clipboard

Ability to update channel members.

Link copied to clipboard

Ability to update own messages in the channel.

Link copied to clipboard
const val UPLOAD_FILE: String

Ability to upload message attachments.