IBotData IBotData IBotData Interface

Definition

Private bot data.

public interface IBotData
type IBotData = interface
Public Interface IBotData
Derived

Properties

ConversationData ConversationData ConversationData

Private bot data associated with a conversation.

public Microsoft.Bot.Builder.Dialogs.IBotDataBag ConversationData { get; }
member this.ConversationData : Microsoft.Bot.Builder.Dialogs.IBotDataBag
Public ReadOnly Property ConversationData As IBotDataBag

PrivateConversationData PrivateConversationData PrivateConversationData

Private bot data associated with a user in a conversation.

public Microsoft.Bot.Builder.Dialogs.IBotDataBag PrivateConversationData { get; }
member this.PrivateConversationData : Microsoft.Bot.Builder.Dialogs.IBotDataBag
Public ReadOnly Property PrivateConversationData As IBotDataBag

UserData UserData UserData

Private bot data associated with a user (across all channels and conversations).

public Microsoft.Bot.Builder.Dialogs.IBotDataBag UserData { get; }
member this.UserData : Microsoft.Bot.Builder.Dialogs.IBotDataBag
Public ReadOnly Property UserData As IBotDataBag

Methods

FlushAsync(CancellationToken) FlushAsync(CancellationToken)

Flushes the bot data to IBotDataStore<T>

public System.Threading.Tasks.Task FlushAsync (System.Threading.CancellationToken cancellationToken);
abstract member FlushAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
cancellationToken
CancellationToken CancellationToken CancellationToken

The cancellation token.

Returns

LoadAsync(CancellationToken) LoadAsync(CancellationToken)

Loads the bot data from IBotDataStore<T>

public System.Threading.Tasks.Task LoadAsync (System.Threading.CancellationToken cancellationToken);
abstract member LoadAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
cancellationToken
CancellationToken CancellationToken CancellationToken

The cancellation token.

Returns

Applies to