botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
22 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OnRepromptDialog = void 0;
const onDialogEvent_1 = require("./onDialogEvent");
const adaptiveEvents_1 = require("../adaptiveEvents");
/**
* Actions triggered when an RepromptDialog event is emitted.
*/
class OnRepromptDialog extends onDialogEvent_1.OnDialogEvent {
/**
* Initializes a new instance of the [OnRepromptDialog](xref:botbuilder-dialogs-adaptive.OnRepromptDialog) class.
*
* @param actions Optional. A [Dialog](xref:botbuilder-dialogs.Dialog) list containing the actions to add to the plan when the rule constraints are met.
* @param condition Optional. Condition which needs to be met for the actions to be executed.
*/
constructor(actions = [], condition) {
super(adaptiveEvents_1.AdaptiveEvents.repromptDialog, actions, condition);
}
}
exports.OnRepromptDialog = OnRepromptDialog;
OnRepromptDialog.$kind = 'Microsoft.OnRepromptDialog';
//# sourceMappingURL=onRepromptDialog.js.map