botbuilder-dialogs
Version:
A dialog stack based conversation manager for Microsoft BotBuilder.
26 lines • 886 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConversationMemoryScope = void 0;
/**
* @module botbuilder-dialogs
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
const botStateMemoryScope_1 = require("./botStateMemoryScope");
const scopePath_1 = require("../scopePath");
/**
* Memory that's scoped to the current conversation.
*/
class ConversationMemoryScope extends botStateMemoryScope_1.BotStateMemoryScope {
/**
* Initializes a new instance of the [ConversationMemoryScope](xref:botbuilder-dialogs.ConversationMemoryScope) class.
*/
constructor() {
super(scopePath_1.ScopePath.conversation);
this.stateKey = 'ConversationState';
}
}
exports.ConversationMemoryScope = ConversationMemoryScope;
//# sourceMappingURL=conversationMemoryScope.js.map
;