ChannelThreadMetadata
@discordeno/bot • Docs
Documentation / @discordeno/bot / ChannelThreadMetadata
Interface: ChannelThreadMetadata
Properties
archived
archived:
boolean
Whether the thread is archived
Defined in
packages/bot/src/transformers/types.ts:508
archiveTimestamp?
optional
archiveTimestamp:number
Timestamp when the thread's archive status was last changed, used for calculating recent activity
Defined in
packages/bot/src/transformers/types.ts:498
autoArchiveDuration?
optional
autoArchiveDuration:60
|1440
|4320
|10080
Duration in minutes to automatically archive the thread after recent activity
Defined in
packages/bot/src/transformers/types.ts:502
createTimestamp?
optional
createTimestamp:number
Timestamp when the thread was created; only populated for threads created after 2022-01-09
Defined in
packages/bot/src/transformers/types.ts:500
invitable
invitable:
boolean
whether non-moderators can add other non-moderators to a thread; only available on private threads
Defined in
packages/bot/src/transformers/types.ts:506
locked
locked:
boolean
When a thread is locked, only users with MANAGE_THREADS
can unarchive it