Skip to content

ActionWizardCancelOptions

ActionWizardCancelOptions = object

Defined in: sdks/agent/src/middleware/ActionWizard.ts:47

Options for cancelling a wizard session.

optional command?: `/${string}`

Defined in: sdks/agent/src/middleware/ActionWizard.ts:55

Text command that cancels the active session from any step (e.g. “/cancel”). Text steps have no cancel button, so without a command they record any reply, including “/cancel”, as the answer.


optional label?: string

Defined in: sdks/agent/src/middleware/ActionWizard.ts:49

Custom label for the cancel button (default: “Cancel”)