Interface EditTextChannelOptions

interface EditTextChannelOptions {
    defaultAutoArchiveDuration?: null | 60 | 1440 | 4320 | 10080;
    name?: string;
    nsfw?: null | string;
    parentID?: null | string;
    permissionOverwrites?: null | OverwriteOptions[];
    position?: null | number;
    rateLimitPerUser?: null | number;
    topic?: null | string;
    type?: GUILD_ANNOUNCEMENT;
}

Hierarchy (view full)

Properties

defaultAutoArchiveDuration?: null | 60 | 1440 | 4320 | 10080

[Announcement, Text] The default auto archive duration for threads made in this channel.

name?: string

The name of the channel.

nsfw?: null | string

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

parentID?: null | string

[Announcement, Forum, Text, Voice] The id of the parent category channel.

permissionOverwrites?: null | OverwriteOptions[]

Channel or category specific permissions.

position?: null | number

The position of the channel in the channel list.

rateLimitPerUser?: null | number

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

topic?: null | string

[Announcement, Forum, Text, Voice] The topic of the channel. In forum channels, this is the Guidelines section.