botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
16 lines • 744 B
TypeScript
import { Dialog } from 'botbuilder-dialogs';
import { OnActivity } from './onActivity';
/**
* Actions triggered when an MessageActivity is received.
*/
export declare class OnMessageActivity extends OnActivity {
static $kind: string;
/**
* Initializes a new instance of the [OnMessageActivity](xref:botbuilder-dialogs-adaptive.OnMessageActivity) 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?: Dialog[], condition?: string);
}
//# sourceMappingURL=onMessageActivity.d.ts.map