Interface CreateCategoryChannelOptions

interface CreateCategoryChannelOptions {
    availableTags?: null | Omit<ForumTag, "id">[];
    bitrate?: null | number;
    defaultForumLayout?: ForumLayoutTypes;
    defaultReactionEmoji?: null | ForumEmoji;
    defaultSortOrder?: null | SortOrderTypes;
    name: string;
    permissionOverwrites?: null | OverwriteOptions[];
    position?: null | number;
    rateLimitPerUser?: null | number;
    reason?: string;
    type: GUILD_CATEGORY;
}

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.

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.

The type of channel to create.