Creates a new waterfall dialog containing the given array of steps.
Unique ID of the dialog within the component or set its being added to.
Optionalsteps: WaterfallStep<O>[](Optional) array of asynchronous waterfall step functions.
See the addStep function for details on creating a valid step function.
Sets the unique ID of the dialog.
Adds a new step to the waterfall.
Asynchronous step function to call.
Waterfall dialog for fluent calls to addStep().
Called when the WaterfallDialog is started and pushed onto the dialog stack.
The DialogContext for the current turn of conversation.
Optionaloptions: OOptional, initial information to pass to the Dialog.
A Promise representing the asynchronous operation.
Fluent method for configuring the object.
Configuration settings to apply.
The Configurable after the operation is complete.
Called when the WaterfallDialog is continued, where it is the active dialog and the user replies with a new Activity.
The DialogContext for the current turn of conversation.
A Promise representing the asynchronous operation.
When overridden in a derived class, performs clean up for the dialog before it ends.
The context object for the turn.
Current state information for this dialog.
The reason the dialog is ending.
Derived dialogs that need to perform logging or cleanup before ending should override this method. By default, this method has no effect.
The DialogContext calls this method when the current dialog is ending.
Gets the converter for the selector configuration. *
The key of the conditional selector configuration. *
The converter for the selector configuration.
Gets the dialog version, composed of the ID and number of steps.
Dialog version, composed of the ID and number of steps.
ProtectedonCalled when an event has been raised, using DialogContext.emitEvent method , by either the current dialog or a dialog that the current dialog started.
The dialog context for the current turn of conversation.
The event being raised.
True if the event is handled by the current dialog and bubbling should stop.
ProtectedonCalled after an event was bubbled to all parents and wasn't handled.
The dialog context for the current turn of conversation.
The event being raised.
Whether the event is handled by the current dialog and further processing should stop.
ProtectedonCalled before an event is bubbled to its parent.
The dialog context for the current turn of conversation.
The event being raised.
Whether the event is handled by the current dialog and further processing should stop.
ProtectedonCalled when an individual waterfall step is being executed.
Context object for the waterfall step to execute.
A promise with the DialogTurnResult.
When overridden in a derived class, prompts the user again for input.
The context object for the turn.
Current state information for this dialog.
Derived dialogs that support validation and re-prompt logic should override this method. By default, this method has no effect.
The DialogContext calls this method when the current dialog should re-request input from the user. This method is implemented for prompt dialogs.
Called when a child WaterfallDialog completed its turn, returning control to this dialog.
The DialogContext for the current turn of the conversation.
DialogReason why the dialog resumed.
Optionalresult: anyOptional, value returned from the dialog that was called. The type of the value returned is dependent on the child dialog.
A Promise representing the asynchronous operation.
ProtectedrunExecutes a step of the WaterfallDialog.
The DialogContext for the current turn of conversation.
The index of the current waterfall step to execute.
The DialogReason the waterfall step is being executed.
Optionalresult: anyOptional, result returned by a dialog called in the previous waterfall step.
A Promise that represents the work queued to execute.
A waterfall is a dialog that's optimized for prompting a user with a series of questions.