CommandMessage interface
Warning
This API is now deprecated.
This package will be deprecated by 2026-07. Please use Microsoft 365 Agents SDK instead.
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