Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for all dialogs. Dialogs are the core component of the BotBuilder framework. Bots use Dialogs to manage arbitrarily complex conversations with a user.

Hierarchy

  • Dialog

Index

Methods

begin

  • Called when a new dialog session is being started.

    Type parameters

    • T

    Parameters

    • session: CallSession

      Session object for the current conversation.

    • Optional args: T

      (Optional) arguments passed to the dialog by its parent.

    Returns void

dialogResumed

  • A child dialog has ended and the current one is being resumed.

    Type parameters

    • T

    Parameters

    • session: CallSession

      Session object for the current conversation.

    • result: IDialogResult<T>

      Result returned by the child dialog.

    Returns void

replyReceived

  • Called when a new reply message has been recieved from a user.

    Derived classes should implement this to process the message recieved from the user.

    Parameters

    • session: CallSession

      Session object for the current conversation.

    Returns void

Legend

  • 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