Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline keyboard is not removed after being reset by bot #366

Open
Danstiv opened this issue May 18, 2024 · 0 comments
Open

Inline keyboard is not removed after being reset by bot #366

Danstiv opened this issue May 18, 2024 · 0 comments

Comments

@Danstiv
Copy link

Danstiv commented May 18, 2024

Telegram bots have the ability to completely remove inline keyboard, in which case it should disappear in the Telegram client.
Previously, the keyboard disappeared correctly in WebA, but this behavior changed a few versions ago.

Steps to reproduce

  1. Open chat with this bot.
  2. Press start button or send "/start".
  3. Press "Reset" button on the inline keyboard.

Expected behavior

Inline keyboard should disappear.

Actual behavior

Inline keyboard does not disappear.

The keyboard disappears only after reloading the page with some delay (about 200 milliseconds).

Notes

The bot mentioned above was written by me and hosted on my server, I hope it will work when someone starts testing the described problem.
Bot source code just in case.
Correctness of removing the keyboard can be observed in another client, for example the official telegram for android.
There was no problem in some of the previous version, I can try to bisect if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant