Interface IEditThread

interface IEditThread {
    archived?: boolean;
    autoArchiveDurationMinutes?: AutoArchiveMinutes;
    channelId: string;
    invitable?: boolean;
    locked?: boolean;
    name?: string;
    rateLimitPerUser?: number;
    tagIds?: string[];
}

Properties

archived?: boolean
autoArchiveDurationMinutes?: AutoArchiveMinutes

The thread will stop showing in the channel list after auto_archive_duration minutes of inactivity, can be set to: 60, 1440, 4320, 10080

channelId: string

The id of the thread to edit

invitable?: boolean

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

locked?: boolean

Whether the thread is locked; when a thread is locked, only users with MANAGE_THREADS can unarchive it

name?: string

1-100 long name for the thread

rateLimitPerUser?: number
tagIds?: string[]

Generated using TypeDoc