StartThreadOptions

export interface StartThreadOptions
export interface StartThreadOptions
Options for starting a thread on a message.
autoArchiveDuration?:ThreadAutoArchiveDuration
The amount of time after which the thread should automatically archive in case of no recent activity
Default value
this.channel.defaultAutoArchiveDuration
name:string
The name of the new thread
rateLimitPerUser?:number
The rate limit per user (slowmode) for the thread in seconds
reason?:string
Reason for creating the thread