Skip to main content
Module

x/discord_api_types/v9.ts>RESTPostAPIChannelThreadsJSONBody

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

Properties

optional
type: ThreadChannelType | undefined

The type of thread to create

In API v9, type defaults to PRIVATE_THREAD. In a future API version this will be changed to be a required field, with no default.

See https://discord.com/developers/docs/resources/channel#channel-object-channel-types

optional
invitable: boolean | undefined

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