Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DiscordThreadMetadata
import { type DiscordThreadMetadata } from "https://deno.land/x/discordeno@13.0.0-rc45/template/beginner/deps.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