Discord.https - v3.0.16
    Preparing search index...

    Interface RESTPostAPIChannelThreadsJSONBody

    interface RESTPostAPIChannelThreadsJSONBody {
        auto_archive_duration?: ThreadAutoArchiveDuration;
        invitable?: boolean;
        name: string;
        rate_limit_per_user?: number;
        type?: ThreadChannelType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    auto_archive_duration?: ThreadAutoArchiveDuration

    The amount of time in minutes to wait before automatically archiving the thread

    invitable?: boolean

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

    name: string

    1-100 character thread name

    rate_limit_per_user?: number

    Amount of seconds a user has to wait before sending another message (0-21600)

    The type of thread to create

    ChannelType.PrivateThread in API v9 and v10. In a future API version this will be changed to be a required field, with no default.