1

We have an interactive message with multiple buttons. When one is clicked, all of them disappear. We want the unclicked buttons to remain.

We've searched through reams of documentation to no avail.

Does anyone know how to achieve this?

eye_mew
  • 8,855
  • 7
  • 30
  • 50

1 Answers1

1

There is no option that allows you to directly choose that the other buttons shall remain.

Instead here are two ways how to achieve your requirement:

  1. Respond with overwriting the original message (default behavior) with a new message containing only the remaining buttons
  2. Respond without overwriting the original message by setting replace_original to false and update the original message with your app to remove the clicked button, using the API method chat.update

See this part of the official documentation for details.

Erik Kalkoken
  • 30,467
  • 8
  • 79
  • 114