Skip to main content
Module

x/harmony/mod.ts>ThreadMetadata

An easy to use Discord API Library for Deno.
Latest
class ThreadMetadata
extends Base
import { ThreadMetadata } from "https://deno.land/x/harmony@v2.9.1/mod.ts";

Constructors

new
ThreadMetadata(client: Client, data: ThreadMetadataPayload)

Properties

archived: boolean
optional
archiver: UserResolvable
archiveTimestamp: Date
autoArchiveDuration: number

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

locked: boolean

Methods

readFromData(data: ThreadMetadataPayload): this