Skip to main content
Module

x/discordeno/mod.ts>DiscordThreadMetadata

Discord API library for Deno
Latest
interface DiscordThreadMetadata
import { type DiscordThreadMetadata } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Properties

archived: boolean

Whether the thread is archived

auto_archive_duration:
| 60
| 1440
| 4320
| 10080

Duration in minutes to automatically archive the thread after recent activity

locked: boolean

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

optional
invitable: boolean

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

archive_timestamp: string

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

optional
create_timestamp: string | null

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