Preview environment

interface ThreadEditOptions

export interface ThreadEditOptions

The options used to edit a thread channel

optional
appliedTags? : readonly Snowflake[]

The tags to apply to the thread

optional
archived? : boolean

Whether the thread is archived

optional
autoArchiveDuration? : ThreadAutoArchiveDuration

The amount of time after which the thread should automatically archive in case of no recent activity

optional
flags? : ChannelFlagsResolvable

The flags to set on the channel

optional
invitable? : boolean

Whether non-moderators can add other non-moderators to a thread Can only be edited on ChannelType.PrivateThread

optional
locked? : boolean

Whether the thread is locked

optional
name? : string

The new name for the thread

optional
rateLimitPerUser? : number

The rate limit per user (slowmode) for the thread in seconds

optional
reason? : string

Reason for editing the thread