Interface

ThreadEditOptions

Options for ThreadChannel.edit.

Properties

NameTypeDescription
appliedTags?string[]Tag IDs on a public forum or media post (max 5).
archived?boolean | nullArchive or unarchive the thread.
autoArchiveDuration?ThreadAutoArchiveDurationMinutes of inactivity before the thread archives.
flags?numberChannel flags bitfield.
invitable?boolean | nullWhether non-moderators can add other non-moderators. Private threads only.
locked?boolean | nullWhen true, only moderators can unarchive the thread.
name?stringThread name (1-100 characters).
rateLimitPerUser?number | nullSlowmode in seconds (0-21600).
reason?stringAudit log reason (X-Audit-Log-Reason). Not sent in the JSON body.