Skip to main content

InternalChannelThreadMetadata

@discordeno/bot


Documentation / @discordeno/bot / InternalChannelThreadMetadata

Interface: InternalChannelThreadMetadata

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

Internal

This is for internal purposes only, and subject to breaking changes

Properties

archiveTimestamp

archiveTimestamp: number

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

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


autoArchiveDuration

autoArchiveDuration: 60 | 1440 | 4320 | 10080

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

Duration in minutes to automatically archive the thread after recent activity


createTimestamp?

optional createTimestamp: number

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

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