Interface StartThreadFromMessageOptions

interface StartThreadFromMessageOptions {
    autoArchiveDuration?: 60 | 1440 | 4320 | 10080;
    name: string;
    rateLimitPerUser?: null | number;
    reason?: string;
}

Hierarchy (view full)

Properties

autoArchiveDuration?: 60 | 1440 | 4320 | 10080

The duration of no activity after which this thread will be automatically archived.

name: string

The name of the thread.

rateLimitPerUser?: null | number

The amount of seconds a user has to wait before sending another message.

reason?: string

The reason for creating the thread.