Abstract
A builder that creates API-compatible JSON data for context menu commands.
Extends
ContextMenuCommandBuilder_baseConstructs a new instance of the
ContextMenuCommandBuilder class| Name | Type | Optional | Description |
|---|---|---|---|
| data | Partial<RESTPostAPIContextMenuApplicationCommandsJSONBody> | Yes | None |
ProtectedReadonly
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.
| Name | Type | Optional | Description |
|---|---|---|---|
| validationOverride | boolean | Yes | Force validation to run/not run regardless of your global preference |