-
public class ChannelCapabilitiesPredefined 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.
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description final StringgetBAN_CHANNEL_MEMBERS()Ability to ban channel members. final StringgetCONNECT_EVENTS()Ability to receive connect events. final StringgetDELETE_ANY_MESSAGE()Ability to delete any message from the channel. final StringgetDELETE_CHANNEL()Ability to delete the channel. final StringgetDELETE_OWN_MESSAGE()Ability to delete own messages from the channel. final StringgetFLAG_MESSAGE()Ability to flag a message. final StringgetFREEZE_CHANNEL()Ability to freeze or unfreeze the channel. final StringgetLEAVE_CHANNEL()Ability to leave the channel (remove own membership). final StringgetMUTE_CHANNEL()Ability to mute the channel. final StringgetPIN_MESSAGE()Ability to pin a message. final StringgetQUOTE_MESSAGE()Ability to quote a message. final StringgetREAD_EVENTS()Ability to receive read events. final StringgetSEARCH_MESSAGES()Ability to use message search. final StringgetSEND_CUSTOM_EVENTS()Ability to send custom events. final StringgetSEND_LINKS()Ability to attach links to messages. final StringgetSEND_MESSAGE()Ability to send a message. final StringgetSEND_REACTION()Ability to send reactions. final StringgetSEND_REPLY()Ability to thread reply to a message. final StringgetSET_CHANNEL_COOLDOWN()Ability to enable or disable slow mode. final StringgetSEND_TYPING_EVENTS()Ability to send and receive typing events. final StringgetUPDATE_ANY_MESSAGE()Ability to update any message in the channel. final StringgetUPDATE_CHANNEL()Ability to update channel data. final StringgetUPDATE_CHANNEL_MEMBERS()Ability to update channel members. final StringgetUPDATE_OWN_MESSAGE()Ability to update own messages in the channel. final StringgetUPLOAD_FILE()Ability to upload message attachments. -
-
Method Detail
-
getBAN_CHANNEL_MEMBERS
final String getBAN_CHANNEL_MEMBERS()
Ability to ban channel members.
-
getCONNECT_EVENTS
final String getCONNECT_EVENTS()
Ability to receive connect events.
-
getDELETE_ANY_MESSAGE
final String getDELETE_ANY_MESSAGE()
Ability to delete any message from the channel.
-
getDELETE_CHANNEL
final String getDELETE_CHANNEL()
Ability to delete the channel.
-
getDELETE_OWN_MESSAGE
final String getDELETE_OWN_MESSAGE()
Ability to delete own messages from the channel.
-
getFLAG_MESSAGE
final String getFLAG_MESSAGE()
Ability to flag a message.
-
getFREEZE_CHANNEL
final String getFREEZE_CHANNEL()
Ability to freeze or unfreeze the channel.
-
getLEAVE_CHANNEL
final String getLEAVE_CHANNEL()
Ability to leave the channel (remove own membership).
-
getMUTE_CHANNEL
final String getMUTE_CHANNEL()
Ability to mute the channel.
-
getPIN_MESSAGE
final String getPIN_MESSAGE()
Ability to pin a message.
-
getQUOTE_MESSAGE
final String getQUOTE_MESSAGE()
Ability to quote a message.
-
getREAD_EVENTS
final String getREAD_EVENTS()
Ability to receive read events.
-
getSEARCH_MESSAGES
final String getSEARCH_MESSAGES()
Ability to use message search.
-
getSEND_CUSTOM_EVENTS
final String getSEND_CUSTOM_EVENTS()
Ability to send custom events.
-
getSEND_LINKS
final String getSEND_LINKS()
Ability to attach links to messages.
-
getSEND_MESSAGE
final String getSEND_MESSAGE()
Ability to send a message.
-
getSEND_REACTION
final String getSEND_REACTION()
Ability to send reactions.
-
getSEND_REPLY
final String getSEND_REPLY()
Ability to thread reply to a message.
-
getSET_CHANNEL_COOLDOWN
final String getSET_CHANNEL_COOLDOWN()
Ability to enable or disable slow mode.
-
getSEND_TYPING_EVENTS
final String getSEND_TYPING_EVENTS()
Ability to send and receive typing events.
-
getUPDATE_ANY_MESSAGE
final String getUPDATE_ANY_MESSAGE()
Ability to update any message in the channel.
-
getUPDATE_CHANNEL
final String getUPDATE_CHANNEL()
Ability to update channel data.
-
getUPDATE_CHANNEL_MEMBERS
final String getUPDATE_CHANNEL_MEMBERS()
Ability to update channel members.
-
getUPDATE_OWN_MESSAGE
final String getUPDATE_OWN_MESSAGE()
Ability to update own messages in the channel.
-
getUPLOAD_FILE
final String getUPLOAD_FILE()
Ability to upload message attachments.
-
-
-
-