RESTPostAPIChannelThreadsJSONBody

export interface RESTPostAPIChannelThreadsJSONBody extends RESTPostAPIChannelMessagesThreadsJSONBody
export interface RESTPostAPIChannelThreadsJSONBody extends RESTPostAPIChannelMessagesThreadsJSONBody
https://discord.com/developers/docs/resources/channel#start-thread-without-message
auto_archive_duration?:ThreadAutoArchiveDuration | undefined
The amount of time in minutes to wait before automatically archiving the thread
Inherited from RESTPostAPIChannelMessagesThreadsJSONBody
invitable?:boolean | undefined
Whether non-moderators can add other non-moderators to the thread; only available when creating a private thread
name:string
1-100 character thread name
Inherited from RESTPostAPIChannelMessagesThreadsJSONBody
rate_limit_per_user?:number | undefined
Amount of seconds a user has to wait before sending another message (0-21600)
Inherited from RESTPostAPIChannelMessagesThreadsJSONBody
The type of thread to createIn API v9 and v10, type defaults to PRIVATE_THREAD. In a future API version this will be changed to be a required field, with no default.See https://discord.com/developers/docs/resources/channel#channel-object-channel-types ChannelType.PrivateThread