botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
22 lines • 905 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OnQnAMatch = void 0;
const onIntent_1 = require("./onIntent");
const qnaMatchIntent = 'QnAMatch';
/**
* Actions triggered when a MessageUpdateActivity is received.
*/
class OnQnAMatch extends onIntent_1.OnIntent {
/**
* Initializes a new instance of the [OnQnAMatch](xref:botbuilder-dialogs-adaptive.OnQnAMatch) 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(qnaMatchIntent, [], actions, condition);
}
}
exports.OnQnAMatch = OnQnAMatch;
OnQnAMatch.$kind = 'Microsoft.OnQnAMatch';
//# sourceMappingURL=onQnAMatch.js.map