We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web_button = elements.WebUrlButton( title='Show website', url='https://petersapparel.parseapp.com' ) postback_button = elements.PostbackButton( title='Start chatting', payload='USER_DEFINED_PAYLOAD' ) template = templates.ButtonTemplate( text='What do you want to do next?', buttons=[ web_button, postback_button ] ) attachment = attachments.TemplateAttachment(template=template) message = messages.Message(attachment=attachment) request = messages.MessageRequest(recipient, message) messenger.send(request)
so if user selects USER_DEFINED_PAYLOAD then how can I execute a function? which parameter i should look for
USER_DEFINED_PAYLOAD
The text was updated successfully, but these errors were encountered:
if you click or tap the postback element then I am not getting an additional request? Any idea why this is happening?
Sorry, something went wrong.
No branches or pull requests
so if user selects
USER_DEFINED_PAYLOAD
then how can I execute a function? which parameter i should look forThe text was updated successfully, but these errors were encountered: