Skip to main content

DiscordThreadMetadata

Documentation


Documentation / @discordeno/types / DiscordThreadMetadata

Interface: DiscordThreadMetadata

Defined in: discord/channel.ts:231

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

Properties

archive_timestamp

archive_timestamp: string

Defined in: discord/channel.ts:237

Timestamp when the thread's archive status was last changed, used for calculating recent activity


archived

archived: boolean

Defined in: discord/channel.ts:233

Whether the thread is archived


auto_archive_duration

auto_archive_duration: 60 | 1440 | 4320 | 10080

Defined in: discord/channel.ts:235

Duration in minutes to automatically archive the thread after recent activity


create_timestamp?

optional create_timestamp?: string | null

Defined in: discord/channel.ts:243

Timestamp when the thread was created; only populated for threads created after 2022-01-09


invitable?

optional invitable?: boolean

Defined in: discord/channel.ts:241

whether non-moderators can add other non-moderators to a thread; only available on private threads


locked

locked: boolean

Defined in: discord/channel.ts:239

When a thread is locked, only users with MANAGE_THREADS can unarchive it