@@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> MultiChannelActionCalendarEvent:
3636 return MultiChannelActionCalendarEvent (
3737 type = 'REPLY' ,
3838 text = 'Hello world' ,
39- post_back_data = 'U0dWc2JHOGdkMjl5YkdRPQ==' ,
39+ postback_data = 'U0dWc2JHOGdkMjl5YkdRPQ==' ,
4040 title = 'Meeting with John' ,
4141 start_time = '2022-09-14T18:20:16Z' ,
4242 end_time = '2022-09-14T18:20:16Z' ,
@@ -46,7 +46,7 @@ def make_instance(self, include_optional) -> MultiChannelActionCalendarEvent:
4646 return MultiChannelActionCalendarEvent (
4747 type = 'REPLY' ,
4848 text = 'Hello world' ,
49- post_back_data = 'U0dWc2JHOGdkMjl5YkdRPQ==' ,
49+ postback_data = 'U0dWc2JHOGdkMjl5YkdRPQ==' ,
5050 title = 'Meeting with John' ,
5151 start_time = '2022-09-14T18:20:16Z' ,
5252 end_time = '2022-09-14T18:20:16Z' ,
@@ -59,7 +59,7 @@ def testMultiChannelActionCalendarEvent(self):
5959 assert isinstance (instance , MultiChannelActionCalendarEvent )
6060 assert instance .type == 'REPLY'
6161 assert instance .text == 'Hello world'
62- assert instance .post_back_data == 'U0dWc2JHOGdkMjl5YkdRPQ=='
62+ assert instance .postback_data == 'U0dWc2JHOGdkMjl5YkdRPQ=='
6363 assert instance .title == 'Meeting with John'
6464 assert isinstance (instance .start_time , datetime )
6565 assert isinstance (instance .end_time , datetime )
0 commit comments