interface RESTPostAPIChannelThreadsJSONBody
implements RESTPostAPIChannelMessagesThreadsJSONBody
import { type RESTPostAPIChannelThreadsJSONBody } from "https://deno.land/x/discord_api_types@0.37.40/v10.ts";
Properties
optional
type: | ChannelType.AnnouncementThread
| ChannelType.PublicThread
| ChannelType.PrivateThread
| undefined
The 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