UNPKG

botbuilder-dialogs

Version:

A dialog stack based conversation manager for Microsoft BotBuilder.

23 lines (21 loc) 626 B
/** * @module botbuilder-dialogs */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { BotStateMemoryScope } from './botStateMemoryScope'; import { ScopePath } from '../scopePath'; /** * Memory that's scoped to the current conversation. */ export class ConversationMemoryScope extends BotStateMemoryScope { protected stateKey = 'ConversationState'; /** * Initializes a new instance of the [ConversationMemoryScope](xref:botbuilder-dialogs.ConversationMemoryScope) class. */ constructor() { super(ScopePath.conversation); } }