/** * @module botbuilder */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { TranscriptStore, PagedResult, Transcript } from "./transcriptLogger"; import { Activity } from "botbuilder-core"; /** * The memory transcript store stores transcripts in volatile memory in a Map. * Because this uses an unbounded volitile dictionary this should only be used for unit tests or non-production environments. */ export declare class MemoryTranscriptStore implements TranscriptStore { private static readonly PageSize; private channels; /** * Log an activity to the transcript. * @param activity Activity to log. */ logActivity(activity: Activity): void | Promise; /** * Get activities from the memory transcript store * @param channelId Channel Id. * @param conversationId Conversation Id. * @param continuationToken Continuatuation token to page through results. * @param startDate Earliest time to include. */ getTranscriptActivities(channelId: string, conversationId: string, continuationToken?: string, startDate?: Date): Promise>; /** * List conversations in the channelId. * @param channelId Channel Id. * @param continuationToken Continuatuation token to page through results. */ listTranscripts(channelId: string, continuationToken?: string): Promise>; /** * Delete a specific conversation and all of it's activities. * @param channelId Channel Id where conversation took place. * @param conversationId Id of the conversation to delete. */ deleteTranscript(channelId: string, conversationId: string): Promise; }