Prompt<T,U>.MessageReceivedAsync Method

Definition

protected virtual System.Threading.Tasks.Task MessageReceivedAsync (Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.IAwaitable<Microsoft.Bot.Connector.IMessageActivity> message);
abstract member MessageReceivedAsync : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.IAwaitable<Microsoft.Bot.Connector.IMessageActivity> -> System.Threading.Tasks.Task
override this.MessageReceivedAsync : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.IAwaitable<Microsoft.Bot.Connector.IMessageActivity> -> System.Threading.Tasks.Task
Protected Overridable Function MessageReceivedAsync (context As IDialogContext, message As IAwaitable(Of IMessageActivity)) As Task

Parameters

context
IDialogContext

Returns

Applies to