class UserContextCommandBuilder
extends
ContextMenuCommandBuilderexport declare class UserContextCommandBuilder extends ContextMenuCommandBuilderA builder that creates API-compatible JSON data for user context menu commands.
toJSON(validationOverride?: boolean) : RESTPostAPIContextMenuApplicationCommandsJSONBody
validationOverride?: boolean
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.