RESTPostAPIGuildForumThreadsJSONBody
https://docs.discord.com/developers/resources/channel#start-thread-in-forum-or-media-channel
Signature
export type RESTPostAPIGuildForumThreadsJSONBody = RESTPostAPIChannelMessagesThreadsJSONBody & { message: Pick<RESTPostAPIChannelMessageJSONBody, 'content' | 'embeds' | 'components' | 'attachments' | 'flags' | 'sticker_ids' | 'allowed_mentions'>; applied_tags?: Snowflake[] | undefined;};Properties
5Methods
0No methods.
Properties
name: string;1-100 character thread name
auto_archive_duration?: ThreadAutoArchiveDuration | undefined;The amount of time in minutes to wait before automatically archiving the thread
rate_limit_per_user?: number | undefined;Amount of seconds a user has to wait before sending another message (0-21600)
message: Pick<RESTPostAPIChannelMessageJSONBody, 'content' | 'embeds' | 'components' | 'attachments' | 'flags' | 'sticker_ids' | 'allowed_mentions'>;The initial message of the thread
applied_tags?: Snowflake[] | undefined;The IDs of the set of tags to apply to the thread; limited to 5