Replies: 2 comments 1 reply
-
This is not true, the scene will be able to handle updates as long as the stage is mounted after all other handlers. There's no way to block all input. The best you can do is ignore or reply with an error message. |
Beta Was this translation helpful? Give feedback.
-
Oh really? Okay that's good to know. I only today became aware that EditBy the way, do you happen to have any tips on how to make a settings menu that has a pretty UI and good UX? |
Beta Was this translation helpful? Give feedback.
-
When a user gives my bot the
/settings
command, I make them enter ascene
I set up for viewing settings and changing them. It's not pretty at all yet, but here's what it looks like so far:Since this is a scene, I would like the user to not have any other option available to them except for the options given by the inline keyboard. Because if the user starts writing their own random messages, then those messages will be responded to by handlers outside of the scene. And that makes things messy in my mind.
So I would like to be able to completely disable (or even remove) the text input, which I will only re-enable after they have left the scene.
Is that possible to do?
Beta Was this translation helpful? Give feedback.
All reactions