Microsoft.Bot.Builder.History.IActivityManager Interface Reference

Interface for managing activity history. More...

Public Member Functions

Task DeleteBeforeAsync (DateTime oldest, CancellationToken cancel=default(CancellationToken))
 Delete any conversation records older than oldest . More...
 
Task DeleteConversationAsync (string channelId, string conversationId, CancellationToken cancel=default(CancellationToken))
 Delete a specific conversation. More...
 
Task DeleteUserActivitiesAsync (string userId, CancellationToken cancel=default(CancellationToken))
 Delete all activities involving userId . More...
 

Detailed Description

Interface for managing activity history.

Definition at line 43 of file IActivityManager.cs.

Member Function Documentation

Task Microsoft.Bot.Builder.History.IActivityManager.DeleteBeforeAsync ( DateTime  oldest,
CancellationToken  cancel = default(CancellationToken) 
)

Delete any conversation records older than oldest .

Parameters
oldestEarliest remaining date in log.
cancelCancellation token.
Task Microsoft.Bot.Builder.History.IActivityManager.DeleteConversationAsync ( string  channelId,
string  conversationId,
CancellationToken  cancel = default(CancellationToken) 
)

Delete a specific conversation.

Parameters
channelIdChannel where conversation took place.
conversationIdId of conversation to delete.
cancelCancellation token.
Returns
Task.
Task Microsoft.Bot.Builder.History.IActivityManager.DeleteUserActivitiesAsync ( string  userId,
CancellationToken  cancel = default(CancellationToken) 
)

Delete all activities involving userId .

Parameters
userIdUser to delete.
cancelCancellation token.
Returns
Task.

The documentation for this interface was generated from the following file: