import { type RESTPostAPIChannelThreadsJSONBody } from "https://deno.land/x/discord_api_types@0.37.55/rest/v9/channel.ts";
Properties
optional
type: | ChannelType.AnnouncementThread
| ChannelType.PublicThread
| ChannelType.PrivateThread
| 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