File tree 3 files changed +22
-10
lines changed
3 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ export class QuickReply {
5
5
imageUrl ?: string ;
6
6
7
7
constructor (
8
- label : string ,
9
- payload : string ,
10
- nlpText ?: string ,
11
- imageUrl ?: string ,
8
+ label : string ,
9
+ payload : string ,
10
+ nlpText ?: string ,
11
+ imageUrl ?: string ,
12
12
) {
13
13
this . label = label ;
14
14
this . payload = payload ;
@@ -21,11 +21,18 @@ export class PostBackButton {
21
21
label : string ;
22
22
payload ?: string ;
23
23
imageUrl ?: string ;
24
+ style ?: string ;
24
25
25
- constructor ( label : string , payload : string , imageUrl ?: string ) {
26
+ constructor (
27
+ label : string ,
28
+ payload : string ,
29
+ imageUrl ?: string ,
30
+ style ?: string ,
31
+ ) {
26
32
this . label = label ;
27
33
this . payload = payload ;
28
34
this . imageUrl = imageUrl ;
35
+ this . style = style ;
29
36
}
30
37
}
31
38
@@ -35,19 +42,22 @@ export class UrlButton {
35
42
imageUrl ?: string ;
36
43
target ?: string ;
37
44
windowFeatures ?: string ;
45
+ style ?: string ;
38
46
39
47
constructor (
40
- label : string ,
41
- url : string ,
42
- imageUrl ?: string ,
43
- target ?: string ,
44
- windowFeatures ?: string ,
48
+ label : string ,
49
+ url : string ,
50
+ imageUrl ?: string ,
51
+ target ?: string ,
52
+ windowFeatures ?: string ,
53
+ style ?: string ,
45
54
) {
46
55
this . label = label ;
47
56
this . url = url ;
48
57
this . imageUrl = imageUrl ;
49
58
this . target = target ;
50
59
this . windowFeatures = windowFeatures ;
60
+ this . style = style ;
51
61
}
52
62
}
53
63
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ interface BotConnectorUrlButton {
57
57
imageUrl ?: string ;
58
58
target ?: string ;
59
59
windowFeatures ?: string ;
60
+ style ?: string ;
60
61
}
61
62
62
63
interface BotConnectorPostbackButton {
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ function mapButton(button: BotConnectorButton): Button {
93
93
button . imageUrl ,
94
94
button . target ,
95
95
button . windowFeatures ,
96
+ button . style ,
96
97
) ;
97
98
}
98
99
}
You can’t perform that action at this time.
0 commit comments