@@ -369,66 +369,66 @@ def handle_message(event)
369
369
type : 'text' ,
370
370
text : '[QUICK REPLY]' ,
371
371
quickReply : {
372
- " items" : [
372
+ items : [
373
373
{
374
- " type" : "action" ,
375
- " imageUrl" : QUICK_REPLY_ICON_URL ,
376
- " action" : {
377
- " type" : "message" ,
378
- " label" : "Sushi" ,
379
- " text" : "Sushi"
374
+ type : "action" ,
375
+ imageUrl : QUICK_REPLY_ICON_URL ,
376
+ action : {
377
+ type : "message" ,
378
+ label : "Sushi" ,
379
+ text : "Sushi"
380
380
}
381
381
} ,
382
382
{
383
- " type" : "action" ,
384
- " action" : {
385
- " type" : "location" ,
386
- " label" : "Send location"
383
+ type : "action" ,
384
+ action : {
385
+ type : "location" ,
386
+ label : "Send location"
387
387
}
388
388
} ,
389
389
{
390
- " type" : "action" ,
391
- " imageUrl" : QUICK_REPLY_ICON_URL ,
392
- " action" : {
393
- " type" : "camera" ,
394
- " label" : "Open camera" ,
390
+ type : "action" ,
391
+ imageUrl : QUICK_REPLY_ICON_URL ,
392
+ action : {
393
+ type : "camera" ,
394
+ label : "Open camera" ,
395
395
}
396
396
} ,
397
397
{
398
- " type" : "action" ,
399
- " imageUrl" : QUICK_REPLY_ICON_URL ,
400
- " action" : {
401
- " type" : "cameraRoll" ,
402
- " label" : "Open cameraRoll" ,
398
+ type : "action" ,
399
+ imageUrl : QUICK_REPLY_ICON_URL ,
400
+ action : {
401
+ type : "cameraRoll" ,
402
+ label : "Open cameraRoll" ,
403
403
}
404
404
} ,
405
405
{
406
- " type" : "action" ,
407
- " action" : {
408
- " type" : "postback" ,
409
- " label" : "buy" ,
410
- " data" : "action=buy&itemid=111" ,
411
- " text" : "buy" ,
406
+ type : "action" ,
407
+ action : {
408
+ type : "postback" ,
409
+ label : "buy" ,
410
+ data : "action=buy&itemid=111" ,
411
+ text : "buy" ,
412
412
}
413
413
} ,
414
414
{
415
- " type" : "action" ,
416
- " action" : {
417
- " type" : "message" ,
418
- " label" : "Yes" ,
419
- " text" : "Yes"
415
+ type : "action" ,
416
+ action : {
417
+ type : "message" ,
418
+ label : "Yes" ,
419
+ text : "Yes"
420
420
}
421
421
} ,
422
422
{
423
- " type" : "action" ,
424
- " action" : {
425
- " type" : "datetimepicker" ,
426
- " label" : "Select date" ,
427
- " data" : "storeId=12345" ,
428
- " mode" : "datetime" ,
429
- " initial" : "2017-12-25t00:00" ,
430
- " max" : "2018-01-24t23:59" ,
431
- " min" : "2017-12-25t00:00"
423
+ type : "action" ,
424
+ action : {
425
+ type : "datetimepicker" ,
426
+ label : "Select date" ,
427
+ data : "storeId=12345" ,
428
+ mode : "datetime" ,
429
+ initial : "2017-12-25t00:00" ,
430
+ max : "2018-01-24t23:59" ,
431
+ min : "2017-12-25t00:00"
432
432
}
433
433
} ,
434
434
] ,
0 commit comments