UNPKG

botbuilder-dialogs-adaptive

Version:

Rule system for the Microsoft BotBuilder dialog system.

29 lines 1.27 kB
"use strict"; /** * @module botbuilder-dialogs-adaptive */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.OnInstallationUpdateActivity = void 0; const botbuilder_1 = require("botbuilder"); const onActivity_1 = require("./onActivity"); /** * Actions triggered when a InstallationUpdateActivity is received. */ class OnInstallationUpdateActivity extends onActivity_1.OnActivity { /** * Initializes a new instance of the [OnInstallationUpdateActivity](xref:botbuilder-dialogs-adaptive.OnInstallationUpdateActivity) 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(botbuilder_1.ActivityTypes.InstallationUpdate, actions, condition); } } exports.OnInstallationUpdateActivity = OnInstallationUpdateActivity; OnInstallationUpdateActivity.$kind = 'Microsoft.OnInstallationUpdateActivity'; //# sourceMappingURL=onInstallationUpdateActivity.js.map