@@ -569,7 +569,7 @@ TemplateSendMessage - ButtonsTemplate
569
569
actions = [
570
570
PostbackAction(
571
571
label = ' postback' ,
572
- text = ' postback text' ,
572
+ display_text = ' postback text' ,
573
573
data = ' action=buy&itemid=1'
574
574
),
575
575
MessageAction(
@@ -596,7 +596,7 @@ TemplateSendMessage - ConfirmTemplate
596
596
actions = [
597
597
PostbackAction(
598
598
label = ' postback' ,
599
- text = ' postback text' ,
599
+ display_text = ' postback text' ,
600
600
data = ' action=buy&itemid=1'
601
601
),
602
602
MessageAction(
@@ -623,7 +623,7 @@ TemplateSendMessage - CarouselTemplate
623
623
actions = [
624
624
PostbackAction(
625
625
label = ' postback1' ,
626
- text = ' postback text1' ,
626
+ display_text = ' postback text1' ,
627
627
data = ' action=buy&itemid=1'
628
628
),
629
629
MessageAction(
@@ -643,7 +643,7 @@ TemplateSendMessage - CarouselTemplate
643
643
actions = [
644
644
PostbackAction(
645
645
label = ' postback2' ,
646
- text = ' postback text2' ,
646
+ display_text = ' postback text2' ,
647
647
data = ' action=buy&itemid=2'
648
648
),
649
649
MessageAction(
@@ -673,15 +673,15 @@ TemplateSendMessage - ImageCarouselTemplate
673
673
image_url = ' https://example.com/item1.jpg' ,
674
674
action = PostbackAction(
675
675
label = ' postback1' ,
676
- text = ' postback text1' ,
676
+ display_text = ' postback text1' ,
677
677
data = ' action=buy&itemid=1'
678
678
)
679
679
),
680
680
ImageCarouselColumn(
681
681
image_url = ' https://example.com/item2.jpg' ,
682
682
action = PostbackAction(
683
683
label = ' postback2' ,
684
- text = ' postback text2' ,
684
+ display_text = ' postback text2' ,
685
685
data = ' action=buy&itemid=2'
686
686
)
687
687
)
0 commit comments