ChatInputCommandBuilder

export declare class ChatInputCommandBuilder extends ChatInputCommandBuilder_base
export declare class ChatInputCommandBuilder extends ChatInputCommandBuilder_base
A builder that creates API-compatible JSON data for chat input commands.CommandBuilderSharedChatInputCommandOptionsSharedNameAndDescriptionSharedChatInputCommandSubcommands

Extends

ChatInputCommandBuilder_base
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