Preview environment

interface StartThreadOptions

export interface StartThreadOptions

Options for starting a thread on a message.

optional
autoArchiveDuration? : ThreadAutoArchiveDuration

The amount of time after which the thread should automatically archive in case of no recent activity (default: this.channel.defaultAutoArchiveDuration)

name : string

The name of the new thread

optional
rateLimitPerUser? : number

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

optional
reason? : string

Reason for creating the thread