Latest
interface DiscordThreadMetadata
import { type DiscordThreadMetadata } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/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