APIThreadMetadata

export interface APIThreadMetadata
export interface APIThreadMetadata
https://discord.com/developers/docs/resources/channel#thread-metadata-object-thread-metadata-structure
archive_timestamp:string
An ISO8601 timestamp when the thread's archive status was last changed, used for calculating recent activity
archived:boolean
Whether the thread is archived
auto_archive_duration:ThreadAutoArchiveDuration
Duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080
create_timestamp?:string
Timestamp when the thread was created; only populated for threads created after 2022-01-09
invitable?:boolean
Whether non-moderators can add other non-moderators to the thread; only available on private threads
locked:boolean
Whether the thread is locked; when a thread is locked, only users with MANAGE_THREADS can unarchive it