Skip to content

AlertAction

A button on a card that ctx.ui.alert displays. When the person presses it, the app runs a command of the plugin, as if the person had chosen that command.

readonly args?: unknown;

The arguments of the command.


readonly command: string;

The id of the command to run. It must be a command of the plugin, so it begins with the id of the plugin.


readonly icon?: string;

The name of an icon for the button.


readonly id: string;

The id of the button.


readonly title: string;

The text of the button.