class ChatInputCommandSubcommandBuilder

extends

ChatInputCommandSubcommandBuilder_base
export declare class ChatInputCommandSubcommandBuilder extends ChatInputCommandSubcommandBuilder_base implements JSONEncodable<APIApplicationCommandSubcommandOption>

A builder that creates API-compatible JSON data for chat input command subcommands.

See also: https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups

toJSON(
validationOverride?: boolean
) : APIApplicationCommandSubcommandOption

Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.