APIThreadMetadata
https://discord.com/developers/docs/resources/channel#thread-metadata-object-thread-metadata-structure
Signature
export interface APIThreadMetadataProperties
6Methods
0No methods.
Properties
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
archive_timestamp: string;An ISO8601 timestamp when the thread's archive status was last changed, used for calculating recent activity
locked: boolean;Whether the thread is locked; when a thread is locked, only users with `MANAGE_THREADS` can unarchive it
invitable?: boolean;Whether non-moderators can add other non-moderators to the thread; only available on private threads
create_timestamp?: string;Timestamp when the thread was created; only populated for threads created after 2022-01-09