botbuilder-dialogs
Version:
A dialog stack based conversation manager for Microsoft BotBuilder.
26 lines • 806 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserMemoryScope = 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 user.
*/
class UserMemoryScope extends botStateMemoryScope_1.BotStateMemoryScope {
/**
* Initializes a new instance of the [UserMemoryScope](xref:botbuilder-dialogs.UserMemoryScope) class.
*/
constructor() {
super(scopePath_1.ScopePath.user);
this.stateKey = 'UserState';
}
}
exports.UserMemoryScope = UserMemoryScope;
//# sourceMappingURL=userMemoryScope.js.map
;