ui
ui copied to clipboard
Optional callback handler for the reply keyboard
I’m adding an option to create a callback handler for the reply keyboard because, theoretically, the keyboard text might match regular messages in the future. Since there’s no way to use a generated prefix to handle text specifically from the keyboard, we risk processing all user messages in the chat that match the button handler. This solution will prevent that by consolidating all reply button handling into a single unified handler, without registering individual handlers during button creation.
cc @negasus