Documentation - v1.2.0-alpha.3
    Preparing search index...

    Interface for storing and managing transcripts.

    interface TranscriptStore {
        deleteTranscript(
            channelId: string,
            conversationId: string,
        ): Promise<void>;
        getTranscriptActivities(
            channelId: string,
            conversationId: string,
            continuationToken?: string,
            startDate?: Date,
        ): Promise<PagedResult<Activity>>;
        listTranscripts(
            channelId: string,
            continuationToken?: string,
        ): Promise<PagedResult<TranscriptInfo>>;
        logActivity(activity: Activity): void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Deletes a transcript.

      Parameters

      • channelId: string

        The ID of the channel.

      • conversationId: string

        The ID of the conversation.

      Returns Promise<void>

      A promise that resolves when the transcript is deleted.

    • Retrieves activities from a transcript.

      Parameters

      • channelId: string

        The ID of the channel.

      • conversationId: string

        The ID of the conversation.

      • OptionalcontinuationToken: string

        Optional. The continuation token for pagination.

      • OptionalstartDate: Date

        Optional. The start date to filter activities.

      Returns Promise<PagedResult<Activity>>

      A promise that resolves to a paged result of activities.