-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
Action Buttons #14
Comments
Yeah, I'm having the same issue! I'd love it if someone could clarify. |
i guess currently it looks for postbacks labels and uses them as a command. %Label for this one it will answer like user says "Label" not sure but at least smooch supports said that. |
Hey folks, I've updated the readme with some clarity around how postback buttons work: https://github.com/esthercrawford/EstherBot/blob/master/README.md |
@alavers - Thanks for the update. I still don't have it working though. It seems like the Also, I'm surprised that the callback function that gets called depends on the user visible text, rather than the callback value. (e..g |
there's also an issue with postback as well, the the text has to match the postback value... The problem seems to be because of the way EstherBot was (oddly) coded. It's actually the button label that it sent as a reply. If you were to use this postback button:
To fix your issue, you can add an entry for SURE!
this is from Danny Tran from stackoverflow...so thanks to him for finding this! I think it's obvious but I'll state it again... |
More of a question than an issue. When you create an action button like
How do you specify the handler for the postback. What does "button action" map to? Can you show an example?
The text was updated successfully, but these errors were encountered: