ITeamsCommandHandler.TriggerPatterns Property

Definition

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.

public System.Collections.Generic.IEnumerable<Microsoft.TeamsFx.Conversation.ITriggerPattern> TriggerPatterns { get; }
member this.TriggerPatterns : seq<Microsoft.TeamsFx.Conversation.ITriggerPattern>
Public ReadOnly Property TriggerPatterns As IEnumerable(Of ITriggerPattern)

Property Value

Remarks

The command handler can be triggered if

  • the input command equals to the one of the string patterns.
  • the input command matches one of the regular expression patterns.

Applies to