APIThreadMetadata

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

Signature

export interface APIThreadMetadata

Properties

archived: boolean;

Whether the thread is archived

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