Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook messenger - Is it possible to disable a payload button in a Generic Template?

I'm trying to build a chatbot in FB messenger. One point in my flow displays a confirmation-style view where the user chooses to confirm whether they want to proceed. I'm using the "Generic Template" and two post back buttons to achieve this, which gives the UI I'm looking for.

The issue I have is that the buttons continue to be visible for the rest of the conversation. I can obviously code to prevent a second call, but it would be nice to lose the options once one has been selected.

Is there any way I can do this? The best I can find is to replace the post backs with "quick replies", but these don't look good and seem to be a bit buggy when used on a browser (the buttons appeared on top of my template, not below them).

like image 328
David Fulton Avatar asked Nov 08 '22 01:11

David Fulton


1 Answers

no you can't edit previous message anyway.

like image 80
Slatan-ko Avatar answered Nov 15 '22 11:11

Slatan-ko