Skip to main content
Module

x/discord_api_types/v9.ts>APIThreadMetadata

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIThreadMetadata
Re-export
import { type APIThreadMetadata } from "https://deno.land/x/discord_api_types@0.37.11/v9.ts";

Properties

archived: boolean

Whether the thread is archived

auto_archive_duration: ThreadAutoArchiveDuration

Duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080

archive_timestamp: string

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

optional
locked: boolean

Whether the thread is locked; 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 the thread; only available on private threads

optional
create_timestamp: string

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