ITeamsCommandHandler Interface

Definition

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.

Applies to