ITeamsCommandHandler Interface
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.
Defines a contract that represents a command handler that can handle commands received from Teams.
public interface ITeamsCommandHandler
type ITeamsCommandHandler = interface
Public Interface ITeamsCommandHandler
Properties
TriggerPatterns |
Gets a set of string or regular expression pattern used to trigger the command handler. If not provided, the handler will be triggered by the command name. |
Methods
HandleCommandAsync(ITurnContext, CommandMessage, CancellationToken) |
Handles the command. |