Microsoft.Bot.Builder.Dialogs.Internals.MapToChannelData_BotToUser Class Reference
Inheritance diagram for Microsoft.Bot.Builder.Dialogs.Internals.MapToChannelData_BotToUser:

Public Member Functions

 MapToChannelData_BotToUser (IBotToUser inner, IEnumerable< IMessageActivityMapper > mappers)
IMessageActivity MakeMessage ()
 Make a message. More...
async Task PostAsync (IMessageActivity message, CancellationToken cancellationToken=new CancellationToken())
 Post a message to be sent to the user. More...

Detailed Description

Definition at line 148 of file BotToUser.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Dialogs.Internals.MapToChannelData_BotToUser.MapToChannelData_BotToUser ( IBotToUser  inner,
IEnumerable< IMessageActivityMapper mappers 

Definition at line 153 of file BotToUser.cs.

Member Function Documentation

IMessageActivity Microsoft.Bot.Builder.Dialogs.Internals.MapToChannelData_BotToUser.MakeMessage ( )

Make a message.

The new message.

Implements Microsoft.Bot.Builder.Dialogs.Internals.IBotToUser.

Definition at line 168 of file BotToUser.cs.

async Task Microsoft.Bot.Builder.Dialogs.Internals.MapToChannelData_BotToUser.PostAsync ( IMessageActivity  message,
CancellationToken  cancellationToken = new CancellationToken() 

Post a message to be sent to the user.

messageThe message for the user.
cancellationTokenThe cancellation token.
A task that represents the post operation.

Implements Microsoft.Bot.Builder.Dialogs.Internals.IBotToUser.

Definition at line 159 of file BotToUser.cs.

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