ChannelOverlayPermission
ChannelOverlayPermission =
object
Defines permission overrides for channel-level operations. Used in access rules to grant or deny specific permissions to roles or members on individual channels or channel groups.
Unlike ChannelPermission where all properties are boolean, ChannelOverlayPermission uses nullable booleans (via BoolValue). This allows three states for each permission: true (explicitly allowed), false (explicitly denied), or undefined (inherit from role).
Properties
channelAppKick?
optionalchannelAppKick:boolean
Permission to remove apps from app channels.
channelCreateFile?
optionalchannelCreateFile:boolean
Permission to upload files to file channels.
channelCreateMessage?
optionalchannelCreateMessage:boolean
Permission to send messages in the channel.
channelCreateMessageAttachment?
optionalchannelCreateMessageAttachment:boolean
Permission to attach files to messages.
channelCreateMessageMention?
optionalchannelCreateMessageMention:boolean
Permission to mention users, roles, or
Everyone
in messages.
channelCreateMessageReaction?
optionalchannelCreateMessageReaction:boolean
Permission to add reactions to messages.
channelDeleteMessageOther?
optionalchannelDeleteMessageOther:boolean
Permission to delete messages sent by other users.
channelFullControl?
optionalchannelFullControl:boolean
Grants all channel permissions. Overrides all other channel permissions when set to true.
channelMakeMessagePublic?
optionalchannelMakeMessagePublic:boolean
Permission to make messages publicly visible outside the community.
channelManageFiles?
optionalchannelManageFiles:boolean
Permission to manage (edit, delete) files uploaded by other users.
channelManagePinnedMessages?
optionalchannelManagePinnedMessages:boolean
Permission to pin and unpin messages in the channel.
channelMoveUserOther?
optionalchannelMoveUserOther:boolean
Permission to move other users between voice channels.
channelUseExternalEmoji?
optionalchannelUseExternalEmoji:boolean
Permission to use emoji from other communities in messages.
channelVideoStreamMedia?
optionalchannelVideoStreamMedia:boolean
Permission to stream video or share screen in voice channels.
channelView?
optionalchannelView:boolean
Permission to view the channel in the channel list and see its basic information.
channelViewFile?
optionalchannelViewFile:boolean
Permission to view and download files in file channels.
channelViewMessageHistory?
optionalchannelViewMessageHistory:boolean
Permission to view message history in the channel.
channelVoiceDeafenOther?
optionalchannelVoiceDeafenOther:boolean
Permission to deafen other users in voice channels.
channelVoiceKick?
optionalchannelVoiceKick:boolean
Permission to disconnect other users from voice channels.
channelVoiceMuteOther?
optionalchannelVoiceMuteOther:boolean
Permission to mute other users in voice channels.
channelVoiceTalk?
optionalchannelVoiceTalk:boolean
Permission to speak in voice channels.