Preview environment

interface GuildChannelEditOptions

export interface GuildChannelEditOptions

Options used to edit a guild channel.

optional
availableTags? : readonly GuildForumTagData[]

The tags to set as available in a forum channel

optional
bitrate? : number

The bitrate of the voice channel

optional
defaultAutoArchiveDuration? : ThreadAutoArchiveDuration

The default auto archive duration for all new threads in this channel

optional
defaultForumLayout? : ForumLayoutType

The default forum layout to set on the channel

optional
defaultReactionEmoji? : DefaultReactionEmoji | null

The emoji to set as the default reaction emoji

optional
defaultSortOrder? : SortOrderType | null

The default sort order mode to set on the channel

optional
defaultThreadRateLimitPerUser? : number

The rate limit per user (slowmode) to set on forum posts

optional
flags? : ChannelFlagsResolvable

The flags to set on the channel

optional
lockPermissions? : boolean

Lock the permissions of the channel to what the parent's permissions are

optional
name? : string

The name of the channel

optional
nsfw? : boolean

Whether the channel is NSFW

optional
parent? : CategoryChannelResolvable | null

The parent of the channel

optional
permissionOverwrites? : readonly OverwriteResolvable[] | ReadonlyCollection<Snowflake, OverwriteResolvable>

Permission overwrites for the channel

optional
position? : number

The position of the channel

optional
rateLimitPerUser? : number

The rate limit per user (slowmode) for the channel in seconds

optional
reason? : string

Reason for editing this channel

optional
rtcRegion? : string | null

The RTC region of the channel

optional
topic? : string | null

The topic of the text channel

The type of the channel (only conversion between text and news is supported)

optional
userLimit? : number

The user limit of the voice channel

optional
videoQualityMode? : VideoQualityMode | null

The camera video quality mode of the channel