How to make a button clickable only once

ISSUE: Whenever any button is displayed, they all remain functional even after one of them is clicked , what is the way i make all of them dead once any one of them is pressed ( i m attaching screenshot below) Ps: I m using it with telegram image you can see above, i can select any button whenever i choose to do so. Objective: I m trying to implement a quiz feature to my bot . The motive is to offer the user , choice of their level (beginner, intermediate, expert ) then based on this show a random question and 4 options.

What I have done till now: Everything works fine as explained in the objective, user shows quiz intent , i show them level choice and depending on it , i use custom action to fetch a question from db , and display it along with 4 options. Now to validate the users answer, i just push “/correct_ans” as a payload to correct option and for others it is “/wrong_ans” Currently i m just working with single questions , i m working on how to keep score. Any help is greatly appreciated, and if you need any more info i would be happy to provide it Thanks

Since you’re using Telegram, this is a Telegram issue. Rasa cannot decide how your frontend works.

If you wrote your own frontend app, you would have full control over it. But since you’re using Telegram, you need to read their documentation to see if it’s possible.

1 Like

Thanks for the reply , i will look into it…

1 Like

Hey, did you find any solution for this