ChannelThreadMetadata
Documentation / @discordeno/bot / ChannelThreadMetadata
Interface: ChannelThreadMetadata
Defined in: transformers/types.ts:604
Properties
archived
archived:
boolean
Defined in: transformers/types.ts:616
Whether the thread is archived
archiveTimestamp?
optionalarchiveTimestamp?:number
Defined in: transformers/types.ts:606
Timestamp when the thread's archive status was last changed, used for calculating recent activity
autoArchiveDuration?
optionalautoArchiveDuration?:60|1440|4320|10080
Defined in: transformers/types.ts:610
Duration in minutes to automatically archive the thread after recent activity
createTimestamp?
optionalcreateTimestamp?:number
Defined in: transformers/types.ts:608
Timestamp when the thread was created; only populated for threads created after 2022-01-09
invitable
invitable:
boolean
Defined in: transformers/types.ts:614
whether non-moderators can add other non-moderators to a thread; only available on private threads
locked
locked:
boolean
Defined in: transformers/types.ts:612
When a thread is locked, only users with MANAGE_THREADS can unarchive it