Interface StartThreadInThreadOnlyChannelOptions

interface StartThreadInThreadOnlyChannelOptions {
    appliedTags?: string[];
    autoArchiveDuration?: 60 | 1440 | 4320 | 10080;
    message: ThreadOnlyChannelThreadStarterMessageOptions;
    name: string;
    rateLimitPerUser?: null | number;
    reason?: string;
}

Hierarchy (view full)

Properties

appliedTags?: string[]

[Forum Channel Only] The IDs of up to 5 tags from the forum to apply to the thread.

autoArchiveDuration?: 60 | 1440 | 4320 | 10080

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

The message to start the thread with.

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.