@@ -44,7 +44,7 @@ def setUp(self):
44
44
title = 'Menu' , text = 'Please select' ,
45
45
actions = [
46
46
PostbackAction (
47
- label = 'postback' , text = 'postback text' ,
47
+ label = 'postback' , display_text = 'postback text' ,
48
48
data = 'action=buy&itemid=1'
49
49
),
50
50
MessageAction (
@@ -70,7 +70,7 @@ def setUp(self):
70
70
{
71
71
"type" : "postback" ,
72
72
"label" : "postback" ,
73
- "text " : "postback text" ,
73
+ "displayText " : "postback text" ,
74
74
"data" : "action=buy&itemid=1"
75
75
},
76
76
{
@@ -93,7 +93,7 @@ def setUp(self):
93
93
text = 'Are you sure?' ,
94
94
actions = [
95
95
PostbackAction (
96
- label = 'postback' , text = 'postback text' ,
96
+ label = 'postback' , display_text = 'postback text' ,
97
97
data = 'action=buy&itemid=1'
98
98
),
99
99
MessageAction (
@@ -113,7 +113,7 @@ def setUp(self):
113
113
{
114
114
"type" : "postback" ,
115
115
"label" : "postback" ,
116
- "text " : "postback text" ,
116
+ "displayText " : "postback text" ,
117
117
"data" : "action=buy&itemid=1"
118
118
},
119
119
{
@@ -135,7 +135,7 @@ def setUp(self):
135
135
title = 'this is menu1' , text = 'description1' ,
136
136
actions = [
137
137
PostbackAction (
138
- label = 'postback1' , text = 'postback text1' ,
138
+ label = 'postback1' , display_text = 'postback text1' ,
139
139
data = 'action=buy&itemid=1'
140
140
),
141
141
MessageAction (
@@ -154,7 +154,7 @@ def setUp(self):
154
154
title = 'this is menu2' , text = 'description2' ,
155
155
actions = [
156
156
PostbackAction (
157
- label = 'postback2' , text = 'postback text2' ,
157
+ label = 'postback2' , display_text = 'postback text2' ,
158
158
data = 'action=buy&itemid=2'
159
159
),
160
160
MessageAction (
@@ -216,7 +216,7 @@ def setUp(self):
216
216
{
217
217
"type" : "postback" ,
218
218
"label" : "postback1" ,
219
- "text " : "postback text1" ,
219
+ "displayText " : "postback text1" ,
220
220
"data" : "action=buy&itemid=1"
221
221
},
222
222
{
@@ -241,7 +241,7 @@ def setUp(self):
241
241
{
242
242
"type" : "postback" ,
243
243
"label" : "postback2" ,
244
- "text " : "postback text2" ,
244
+ "displayText " : "postback text2" ,
245
245
"data" : "action=buy&itemid=2"
246
246
},
247
247
{
0 commit comments