Skip to content

ModifyThreadInput

Defined in: bot/bot.type.ts:344

What PATCH /channels/{id} takes to change a thread. A field left out is left alone.

optional applied_tags?: string[]

Defined in: bot/bot.type.ts:348

Ids of the forum tags to apply, replacing the current ones.


optional archived?: boolean

Defined in: bot/bot.type.ts:350

Whether the thread is archived. Writing to an archived thread unarchives it.


optional auto_archive_duration?: number

Defined in: bot/bot.type.ts:354

Minutes of silence after which the thread archives: 60, 1440, 4320 or 10080.


optional locked?: boolean

Defined in: bot/bot.type.ts:352

Whether only members with Manage Threads can unarchive and post in the thread.


optional name?: string

Defined in: bot/bot.type.ts:346

A new title, up to 100 characters.