Interface CreateChannelOptions<T>

Type Parameters

Hierarchy

  • CreateChannelOptions

Properties

defaultAutoArchiveDuration?: 60 | 1440 | 4320 | 10080

[Text, Announcement] The default auto archive duration for the channel.

name: string

The name of the channel.

nsfw?: boolean

[Text, Voice, Announcement] If the channel is age restricted.

parentID?: string

The ID of the category to put this channel in.

permissionOverwrites?: OverwriteOptions[]

The permission overwrites to apply to the channel.

position?: number

The position of the channel.

rateLimitPerUser?: number

[Text] The seconds between sending messages for users. Between 0 and 21600.

reason?: string

The reason for creating the channel.

rtcRegion?: string

[Voice] The voice region for the channel.

topic?: string

[Text, Voice, Announcement] The topic of the channel.

type: T

The type of channel to create.

userLimit?: number

[Voice] The maximum number of users that can be in the channel. Between 0 and 99.

videoQualityMode?: VideoQualityModes

[Voice] The video quality mode for the channel.