Preview deployment

interface CategoryCreateChannelOptions

export interface CategoryCreateChannelOptions

Options for creating a channel using create.

optional
availableTags? : readonly GuildForumTagData[]

The tags that can be used in this channel (forum only).

optional
bitrate? : number

Bitrate of the new channel in bits (only voice)

optional
defaultAutoArchiveDuration? : ThreadAutoArchiveDuration

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

optional
defaultForumLayout? : ForumLayoutType

The default layout used to display posts (forum only).

optional
defaultReactionEmoji? : DefaultReactionEmoji

The emoji to show in the add reaction button on a thread in a guild forum channel.

optional
defaultSortOrder? : SortOrderType

The default sort order mode used to order posts (forum only).

optional
defaultThreadRateLimitPerUser? : number

The initial rate limit per user (slowmode) to set on newly created threads in a channel.

name : string

The name for the new channel

optional
nsfw? : boolean

Whether the new channel is NSFW

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

Permission overwrites of the new channel

optional
position? : number

Position of the new channel

optional
rateLimitPerUser? : number

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

optional
reason? : string

Reason for creating the new channel

optional
rtcRegion? : string

The specific region of the new channel.

optional
topic? : string

The topic for the new channel

optional
type? : CategoryChannelType

The type of the new channel. (default: ChannelType.GuildText)

optional
userLimit? : number

Maximum amount of users allowed in the new channel (only voice)

optional
videoQualityMode? : VideoQualityMode

The camera video quality mode of the voice channel