DiscordThreadMetadata
Documentation / @discordeno/bot / DiscordThreadMetadata
Interface: DiscordThreadMetadata
Defined in: packages/types/dist/types/discord/channel.d.ts:166
Properties
archive_timestamp
archive_timestamp:
string
Defined in: packages/types/dist/types/discord/channel.d.ts:176
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:168
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:170
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:178
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:174
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:172
When a thread is locked, only users with MANAGE_THREADS
can unarchive it