BotMessageHandler BotMessageHandler BotMessageHandler Class

Definition

public class BotMessageHandler : Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers.BotMessageHandlerBase
type BotMessageHandler = class
    inherit BotMessageHandlerBase
Public Class BotMessageHandler
Inherits BotMessageHandlerBase
Inheritance

Constructors

BotMessageHandler(BotFrameworkAdapter) BotMessageHandler(BotFrameworkAdapter)

public BotMessageHandler (Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter botFrameworkAdapter);
new Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers.BotMessageHandler : Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter -> Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers.BotMessageHandler
Parameters

Methods

HandleAsync(HttpContext) HandleAsync(HttpContext) HandleAsync(HttpContext)

Inherited from BotMessageHandlerBase

ProcessMessageRequestAsync(HttpRequest, BotFrameworkAdapter, Func) ProcessMessageRequestAsync(HttpRequest, BotFrameworkAdapter, Func)

[System.Runtime.CompilerServices.AsyncStateMachine(typeof(Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers.BotMessageHandler/<ProcessMessageRequestAsync>d__1))]
protected override System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse> ProcessMessageRequestAsync (Microsoft.AspNetCore.Http.HttpRequest request, Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter botFrameworkAdapter, Func<Microsoft.Bot.Builder.ITurnContext,System.Threading.Tasks.Task> botCallbackHandler);
override this.ProcessMessageRequestAsync : Microsoft.AspNetCore.Http.HttpRequest * Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter * Func<Microsoft.Bot.Builder.ITurnContext, System.Threading.Tasks.Task> -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse>
Parameters
botCallbackHandler
Func<ITurnContext,Task>
Returns

Applies to