Skip to content

StartThreadOptions

typedef · Source

Options for starting a thread on a message. Type: Object

Properties

name

name: string

The name of the new thread

autoArchiveDuration

optional

autoArchiveDuration: ThreadAutoArchiveDuration

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

Default: this.channel.defaultAutoArchiveDuration

reason

optional

reason: string

Reason for creating the thread

rateLimitPerUser

optional

rateLimitPerUser: number

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

Unofficial software. Not affiliated with or supported by Discord.