You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buttons: {
controller: (params, next) => {
const buttonTitles = params.content.split(',');
next().then(() => {
params.bot.sendDefaultButtonMessageTo(buttonTitles, params.update.sender.id, 'Please select an option or type in your own');
});
return '';
},
},
When I send it the following:
Hello<buttons>one,two</buttons>
then the buttons seemingly randomly appear or not in Messenger on iOS. It seems more reliable on the web - but more often than not it fails in Messenger on mobile. There's a weird graphical glitch when the messages do appear that makes me suspicious it's a timing issue.
I know that Messenger will ignore quick-reply buttons by design if you send another message after they've been displayed. This makes sense - the quick-reply don't persist past new messages. I suspect that the hello or 'please select an option' messages are getting to Messenger after the button message and therefore the buttons get removed.
NOTE: I originally thought this was related to use of the <pause> tag, but I've not verified the issue occurs without that tag.
The text was updated successfully, but these errors were encountered:
duncsand
changed the title
Buttons seemingly randomly appear or not when used in conjunction with pause tag
Buttons seemingly randomly appear or not when on Messenger on iOS
Mar 19, 2017
My buttons action is:
When I send it the following:
Hello<buttons>one,two</buttons>
then the buttons seemingly randomly appear or not in Messenger on iOS. It seems more reliable on the web - but more often than not it fails in Messenger on mobile. There's a weird graphical glitch when the messages do appear that makes me suspicious it's a timing issue.
I know that Messenger will ignore quick-reply buttons by design if you send another message after they've been displayed. This makes sense - the quick-reply don't persist past new messages. I suspect that the hello or 'please select an option' messages are getting to Messenger after the button message and therefore the buttons get removed.
NOTE: I originally thought this was related to use of the <pause> tag, but I've not verified the issue occurs without that tag.
The text was updated successfully, but these errors were encountered: