BotMessageHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A handler to process incoming http requests via using an adapter.
public sealed class BotMessageHandler : Microsoft.Bot.Builder.Integration.AspNet.WebApi.Handlers.BotMessageHandlerBase
type BotMessageHandler = class
inherit BotMessageHandlerBase
Public NotInheritable Class BotMessageHandler
Inherits BotMessageHandlerBase
- Inheritance
Constructors
BotMessageHandler(IAdapterIntegration) |
Initializes a new instance of the BotMessageHandler class. |
Fields
RouteName |
The route name for the message handler. |
Methods
ProcessMessageRequestAsync(HttpRequestMessage, IAdapterIntegration, BotCallbackHandler, CancellationToken) |
Abstract method to process the incoming request using the instance of IAdapterIntegration and to return an InvokeResponse. (Inherited from BotMessageHandlerBase) |
SendAsync(HttpRequestMessage, CancellationToken) |
Processes the incoming request using the adapter and returns a response. (Inherited from BotMessageHandlerBase) |