DiscordThreadMetadata
Documentation / @discordeno/bot / DiscordThreadMetadata
Interface: DiscordThreadMetadata
Defined in: packages/types/dist/types/discord/channel.d.ts:167
Properties
archive_timestamp
archive_timestamp:
string
Defined in: packages/types/dist/types/discord/channel.d.ts:177
Timestamp when the thread's archive status was last changed, used for calculating recent activity
archived
archived:
boolean
Defined in: packages/types/dist/types/discord/channel.d.ts:169
Whether the thread is archived
auto_archive_duration
auto_archive_duration:
60
|1440
|4320
|10080
Defined in: packages/types/dist/types/discord/channel.d.ts:171
Duration in minutes to automatically archive the thread after recent activity
create_timestamp?
optional
create_timestamp:null
|string
Defined in: packages/types/dist/types/discord/channel.d.ts:179
Timestamp when the thread was created; only populated for threads created after 2022-01-09
invitable?
optional
invitable:boolean
Defined in: packages/types/dist/types/discord/channel.d.ts:175
whether non-moderators can add other non-moderators to a thread; only available on private threads
locked
locked:
boolean
Defined in: packages/types/dist/types/discord/channel.d.ts:173
When a thread is locked, only users with MANAGE_THREADS
can unarchive it