Skip to main content

ChannelThreadMetadata

@discordeno/bot


Documentation / @discordeno/bot / ChannelThreadMetadata

Interface: ChannelThreadMetadata

Defined in: packages/bot/src/transformers/types.ts:495

Properties

archived

archived: boolean

Defined in: packages/bot/src/transformers/types.ts:507

Whether the thread is archived


archiveTimestamp?

optional archiveTimestamp: number

Defined in: packages/bot/src/transformers/types.ts:497

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


autoArchiveDuration?

optional autoArchiveDuration: 60 | 1440 | 4320 | 10080

Defined in: packages/bot/src/transformers/types.ts:501

Duration in minutes to automatically archive the thread after recent activity


createTimestamp?

optional createTimestamp: number

Defined in: packages/bot/src/transformers/types.ts:499

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


invitable

invitable: boolean

Defined in: packages/bot/src/transformers/types.ts:505

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


locked

locked: boolean

Defined in: packages/bot/src/transformers/types.ts:503

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