ChatInputCommandSubcommandBuilder

export declare class ChatInputCommandSubcommandBuilder extends ChatInputCommandSubcommandBuilder_base implements JSONEncodable<APIApplicationCommandSubcommandOption>
export declare class ChatInputCommandSubcommandBuilder extends ChatInputCommandSubcommandBuilder_base implements JSONEncodable<APIApplicationCommandSubcommandOption>
A builder that creates API-compatible JSON data for chat input command subcommands.

Extends

ChatInputCommandSubcommandBuilder_base
toJSON(validationOverride?):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.
NameTypeOptionalDescription
validationOverridebooleanYesForce validation to run/not run regardless of your global preference