class MessageContextCommandBuilder

external
declare class MessageContextCommandBuilder extends ContextMenuCommandBuilder

A builder that creates API-compatible JSON data for message context menu commands.

external
toJSON(
validationOverride?: boolean
) : RESTPostAPIContextMenuApplicationCommandsJSONBody

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