ITeamsCommandHandler.TriggerPatterns Property
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.
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.