botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
30 lines • 1.16 kB
TypeScript
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Expression } from 'adaptive-expressions';
import { Dialog } from 'botbuilder-dialogs';
import { OnEventActivity } from './onEventActivity';
/**
* Actions triggered when an EventActivity is received.
*/
export declare class OnContinueConversation extends OnEventActivity {
static $kind: string;
/**
* Initializes a new instance of the [OnContinueConversation](xref:botbuilder-dialogs-adaptive.OnContinueConversation) class.
*
* @param {Dialog[]} actions Optional, actions to add to the plan when the rule constraints are met.
* @param {string} condition Optional, ondition which needs to be met for the actions to be executed.
*/
constructor(actions?: Dialog[], condition?: string);
/**
* Create expression for this condition.
*
* @returns {Expression} An [Expression](xref:adaptive-expressions.Expression) used to evaluate this rule.
*/
protected createExpression(): Expression;
}
//# sourceMappingURL=onContinueConversation.d.ts.map