Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message = TemplateSendMessage(
- alt_text='Confirm template',
- template=ConfirmTemplate(
- text='Are you sure?',
- actions=[
- PostbackTemplateAction(
- label='postback',
- text='postback text',
- data='action=buy&itemid=1'
- ),
- MessageTemplateAction(
- label='message',
- text='message text'
- )
- ]
- )
- )
- line_bot_api.reply_message(event.reply_token, message)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement