Skip to content

ActionWizardOptions

ActionWizardOptions = object

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

Configuration for an interactive action wizard.

optional cancel?: boolean | ActionWizardCancelOptions

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

Enable a cancel button on each select step. Set to true for the default label, or pass options to customize the label or add a cancel command.


optional dm?: boolean

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

When true, the wizard sends all steps via DM to the user. Recommended when the user is expected to enter sensitive information (e.g. API keys, passwords) to keep it out of group conversations.