Microsoft.Bot.Builder.Dialogs.Internals.IBotToUser Interface Reference

Methods to send a message from the bot to the user. More...

Inheritance diagram for Microsoft.Bot.Builder.Dialogs.Internals.IBotToUser:

Public Member Functions

IMessageActivity MakeMessage ()
 Make a message. More...
Task PostAsync (IMessageActivity message, CancellationToken cancellationToken=default(CancellationToken))
 Post a message to be sent to the user. More...

Detailed Description

Methods to send a message from the bot to the user.

Definition at line 51 of file BotToUser.cs.

Member Function Documentation

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

Make a message.

The new message.

Implemented in Microsoft.Bot.Builder.Dialogs.Internals.MapToChannelData_BotToUser.

Task Microsoft.Bot.Builder.Dialogs.Internals.IBotToUser.PostAsync ( IMessageActivity  message,
CancellationToken  cancellationToken = default(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.

Implemented in Microsoft.Bot.Builder.Dialogs.Internals.MapToChannelData_BotToUser.

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