Interface CreateVoiceChannelOptions

interface CreateVoiceChannelOptions {
    availableTags?: null | Omit<ForumTag, "id">[];
    bitrate?: null | number;
    defaultForumLayout?: ForumLayoutTypes;
    defaultReactionEmoji?: null | ForumEmoji;
    defaultSortOrder?: null | SortOrderTypes;
    name: string;
    nsfw?: null | boolean;
    parentID?: null | string;
    permissionOverwrites?: null | OverwriteOptions[];
    position?: null | number;
    rateLimitPerUser?: null | number;
    reason?: string;
    rtcRegion?: null | string;
    type: GUILD_VOICE;
    userLimit?: null | number;
    videoQualityMode?: null | VideoQualityModes;
}

Hierarchy

Properties

availableTags?: null | Omit<ForumTag, "id">[]

[Forum] The tags available in the channel.

bitrate?: null | number

[Stage, Voice] The bitrate of the channel. Minimum 8000.

defaultForumLayout?: ForumLayoutTypes

[Forum] The default forum layout used to display threads.

defaultReactionEmoji?: null | ForumEmoji

[Forum] The default reaction emoji for threads.

defaultSortOrder?: null | SortOrderTypes

[Forum] The default sort order mode used to sort forum threads.

name: string

The name of the channel.

nsfw?: null | boolean

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

parentID?: null | string

The ID of the category to put this channel in.

permissionOverwrites?: null | OverwriteOptions[]

The permission overwrites to apply to the channel.

position?: null | number

The position of the channel.

rateLimitPerUser?: null | number

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

reason?: string

The reason for creating the channel.

rtcRegion?: null | string

[Stage, Voice] The voice region for the channel.

The type of channel to create.

userLimit?: null | number

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

videoQualityMode?: null | VideoQualityModes

[Voice] The video quality mode for the channel.