BotMessageHandlerBase 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.
Abstract base class for a bot message handler.
public abstract class BotMessageHandlerBase : System.Net.Http.HttpMessageHandler
type BotMessageHandlerBase = class
inherit HttpMessageHandler
Public MustInherit Class BotMessageHandlerBase
Inherits HttpMessageHandler
- Inheritance
-
BotMessageHandlerBase
- Derived
Constructors
| BotMessageHandlerBase(IAdapterIntegration) |
Initializes a new instance of the BotMessageHandlerBase class. |
Fields
| BotMessageMediaTypeFormatters |
A System.Net.Http.Formatting.JsonMediaTypeFormatter defining the support media types for bot messages. |
Methods
| ProcessMessageRequestAsync(HttpRequestMessage, IAdapterIntegration, BotCallbackHandler, CancellationToken) |
Abstract method to process the incoming request using the instance of IAdapterIntegration and to return an InvokeResponse. |
| SendAsync(HttpRequestMessage, CancellationToken) |
Processes the incoming request using the adapter and returns a response. |