interface APIThreadMetadata

external
export interface APIThreadMetadata

https://discord.com/developers/docs/resources/channel#thread-metadata-object-thread-metadata-structure

external
archive_timestamp : string

An ISO8601 timestamp when the thread's archive status was last changed, used for calculating recent activity

external
archived : boolean

Whether the thread is archived

external
auto_archive_duration : ThreadAutoArchiveDuration

Duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080

optionalexternal
create_timestamp? : string

Timestamp when the thread was created; only populated for threads created after 2022-01-09

optionalexternal
invitable? : boolean

Whether non-moderators can add other non-moderators to the thread; only available on private threads

external
locked : boolean

Whether the thread is locked; when a thread is locked, only users with MANAGE_THREADS can unarchive it