CommandResponseMiddleware 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.
Middleware to handle message activity from Teams.
public class CommandResponseMiddleware : Microsoft.Bot.Builder.IMiddleware
type CommandResponseMiddleware = class
interface IMiddleware
Public Class CommandResponseMiddleware
Implements IMiddleware
- Inheritance
-
CommandResponseMiddleware
- Implements
Constructors
CommandResponseMiddleware(IList<ITeamsCommandHandler>) |
Initializes a new instance of the CommandResponseMiddleware class. |
Properties
CommandHandlers |
Gets or sets the list of ITeamsCommandHandler instances registered with the middleware. |
Methods
OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) | When implemented in middleware, processes an incoming activity. |