Interface ICreateStandaloneThread

interface ICreateStandaloneThread {
    autoArchiveDurationMinutes?: AutoArchiveMinutes;
    channelId: string;
    invitable?: boolean;
    kind: "NewsThread" | "PublicThread" | "PrivateThread";
    name: string;
}

Properties

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 channel the thread is in

invitable?: boolean

Whether non-moderators can add other non-moderators to a thread; only available when creating a private thread

kind: "NewsThread" | "PublicThread" | "PrivateThread"
name: string

1-100 characters long name for the thread

Generated using TypeDoc