Share via


BlobsTranscriptStore 类

定义

Blob 脚本存储将脚本存储在 Azure Blob 容器中。

public class BlobsTranscriptStore : Microsoft.Bot.Builder.ITranscriptStore
type BlobsTranscriptStore = class
    interface ITranscriptStore
    interface ITranscriptLogger
Public Class BlobsTranscriptStore
Implements ITranscriptStore
继承
BlobsTranscriptStore
实现

注解

每个活动作为 json blob 存储在 container/{channelId]/{conversationId}/{Timestamp.ticks}-{activity.id}.json 的结构中。

构造函数

BlobsTranscriptStore(String, String, JsonSerializer)

初始化 BlobsTranscriptStore 类的新实例。

BlobsTranscriptStore(String, String, StorageTransferOptions, JsonSerializer)

初始化 BlobsTranscriptStore 类的新实例。

方法

DeleteTranscriptAsync(String, String)

删除特定对话及其所有活动。

GetTranscriptActivitiesAsync(String, String, String, DateTimeOffset)

获取对话的活动 (Aka 脚本) 。

ListTranscriptsAsync(String, String)

在 channelId 中列出对话。

LogActivityAsync(IActivity)

将活动记录到脚本中。

适用于