Microsoft.Bot.Builder.History.ReplayTranscript Class Reference

Class to collect and then replay activities as a transcript. More...

Public Member Functions

 ReplayTranscript (IBotToUser botToUser, Func< IActivity, string > header=null)
 Constructor. More...
 
async Task Replay (IActivity activity)
 Replay activity to IBotToUser. More...
 

Detailed Description

Class to collect and then replay activities as a transcript.

Definition at line 47 of file ReplayTranscript.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.History.ReplayTranscript.ReplayTranscript ( IBotToUser  botToUser,
Func< IActivity, string >  header = null 
)
inline

Constructor.

Parameters
botToUserWhere to replay transcript.
headerFunction for defining the transcript header on each message.

Definition at line 57 of file ReplayTranscript.cs.

Member Function Documentation

async Task Microsoft.Bot.Builder.History.ReplayTranscript.Replay ( IActivity  activity)
inline

Replay activity to IBotToUser.

Parameters
activityActivity.
Returns
Task.

Definition at line 71 of file ReplayTranscript.cs.


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