Freigeben über


CommandMessage interface

Interface for a command message that can handled in a command handler.

Properties

matches

The capture groups that matched to the TriggerPatterns in a TeamsFxBotCommandHandler instance.

text

Text of the message sent by the user.

Property Details

matches

The capture groups that matched to the TriggerPatterns in a TeamsFxBotCommandHandler instance.

matches?: RegExpMatchArray

Property Value

RegExpMatchArray

text

Text of the message sent by the user.

text: string

Property Value

string