ModifyThreadInput
Defined in: bot/bot.type.ts:344
What PATCH /channels/{id} takes to change a thread. A field left out is left alone.
Properties
Section titled “Properties”applied_tags?
Section titled “applied_tags?”
optionalapplied_tags?:string[]
Defined in: bot/bot.type.ts:348
Ids of the forum tags to apply, replacing the current ones.
archived?
Section titled “archived?”
optionalarchived?:boolean
Defined in: bot/bot.type.ts:350
Whether the thread is archived. Writing to an archived thread unarchives it.
auto_archive_duration?
Section titled “auto_archive_duration?”
optionalauto_archive_duration?:number
Defined in: bot/bot.type.ts:354
Minutes of silence after which the thread archives: 60, 1440, 4320 or 10080.
locked?
Section titled “locked?”
optionallocked?:boolean
Defined in: bot/bot.type.ts:352
Whether only members with Manage Threads can unarchive and post in the thread.
optionalname?:string
Defined in: bot/bot.type.ts:346
A new title, up to 100 characters.