Preview environment

interface RESTPostAPIChannelMessagesThreadsJSONBody

export interface RESTPostAPIChannelMessagesThreadsJSONBody

https://discord.com/developers/docs/resources/channel#start-thread-from-message

optional
auto_archive_duration? : ThreadAutoArchiveDuration | undefined

The amount of time in minutes to wait before automatically archiving the thread

name : string

1-100 character thread name

optional
rate_limit_per_user? : number | undefined

Amount of seconds a user has to wait before sending another message (0-21600)