UNPKG

botbuilder-dialogs

Version:

A dialog stack based conversation manager for Microsoft BotBuilder.

41 lines 1.22 kB
"use strict"; /** * @module botbuilder-dialogs */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DialogEvents = void 0; /** * Represents the events related to the "lifecycle" of the dialog. */ class DialogEvents { } exports.DialogEvents = DialogEvents; /** * Event fired by a dialog to indicate that its `beginDialog()` method has been called. */ DialogEvents.beginDialog = 'beginDialog'; /** * Event fired when `DialogContext.repromptDialog()` is called. */ DialogEvents.repromptDialog = 'repromptDialog'; /** * Event fired when a dialog is being canceled. */ DialogEvents.cancelDialog = 'cancelDialog'; /** * Event fired when an activity is received from the adapter (or a request to reprocess an activity.) */ DialogEvents.activityReceived = 'activityReceived'; /** * Event fired when the system has detected that deployed code has changed the execution of dialogs between turns. */ DialogEvents.versionChanged = 'versionChanged'; /** * Event fired when there was an exception thrown in the system. */ DialogEvents.error = 'error'; //# sourceMappingURL=dialogEvents.js.map