BotMessageHandlerBase Class

Definition

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.

Applies to