RESTPostAPIChannelThreadsJSONBody

https://discord.com/developers/docs/resources/channel#start-thread-without-message

Signature

export interface RESTPostAPIChannelThreadsJSONBody extends RESTPostAPIChannelMessagesThreadsJSONBody

Properties

2

Methods

0

No methods.

Properties

type?: ThreadChannelType | 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

@defaultChannelType.PrivateThread
invitable?: boolean | undefined;

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