-
Notifications
You must be signed in to change notification settings - Fork 6
/
CommandMessage.yml
38 lines (38 loc) · 1.08 KB
/
CommandMessage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
### YamlMime:TSType
name: CommandMessage
uid: '@microsoft/teamsfx.CommandMessage'
package: '@microsoft/teamsfx'
summary: Interface for a command message that can handled in a command handler.
fullName: CommandMessage
remarks: ''
isDeprecated: false
type: interface
properties:
- name: matches
uid: '@microsoft/teamsfx.CommandMessage.matches'
package: '@microsoft/teamsfx'
summary: >-
The capture groups that matched to the
[TriggerPatterns](xref:@microsoft/teamsfx.TriggerPatterns) in a
[TeamsFxBotCommandHandler](xref:@microsoft/teamsfx.TeamsFxBotCommandHandler)
instance.
fullName: matches
remarks: ''
isDeprecated: false
syntax:
content: 'matches?: RegExpMatchArray'
return:
description: ''
type: RegExpMatchArray
- name: text
uid: '@microsoft/teamsfx.CommandMessage.text'
package: '@microsoft/teamsfx'
summary: Text of the message sent by the user.
fullName: text
remarks: ''
isDeprecated: false
syntax:
content: 'text: string'
return:
description: ''
type: string