• Public
  • Public/Protected
  • All

Class DialogAction

Dialog actions offer shortcuts to implementing common actions.


  • DialogAction



Static beginDialog

  • Returns a closure that will passes control of the conversation to a new dialog.

    Type parameters

    • T


    • id: string

      Unique ID of the dialog to start.

    • Optional args: T

      (Optional) arguments to pass to the dialogs begin() method.

    Returns IDialogWaterfallStep

Static endDialog

Static send

  • Returns a closure that will send a simple text message to the user.


    • msg: string

      Text of the message to send. The message will be localized using the sessions configured localizer. If arguments are passed in the message will be formatted using sprintf-js (see the docs for details.)

    • Rest ...args: any[]

      (Optional) arguments used to format the final output string.

    Returns IDialogWaterfallStep


  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method