Interface EditAnnouncementChannelOptions

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

Hierarchy

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.

topic?: null | string

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

type?: GUILD_TEXT