interface RESTPostAPIChannelThreadsJSONBody
implements RESTPostAPIChannelMessagesThreadsJSONBody
import { type RESTPostAPIChannelThreadsJSONBody } from "https://deno.land/x/discord_api_types@0.37.61/rest/v10/channel.ts";
Properties
optional
type: ThreadChannelType | undefinedThe type of thread to create
In API v9 and v10, 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