Edited inline keyboard buttons become unresponsive in private chat with bot after ~10 minutes of inactivity
Checklist
- [x] I am reporting an issue in existing functionality that does not work as intended
- [x] I've searched for existing GitHub issues
Description
I ran into a bug with inline buttons in bot private chat. Buttons become unresponsive after some time when I don't interact with bot. It affects buttons that was previously edited by the bot. This bug can be reproduced in BotFather. To fix it you can send any text message to bot or restart Telegram app. I tested it in my own bot and found that when you tap on inline buttons there is no webhook requests on backend side. So, I think this is iOS client bug, which prevents buttons to send any requests to Telegram API.
I tried:
- disable power saving mode
- disable any type of "disturb mode"
- disable interface animations in Telegram settings
I found only one reported and fixed bug, that is similar - https://bugs.telegram.org/c/12654. Mine has same symptoms, but different steps to reproduce.
Expected Behavior
Edited inline buttons in private chat with bot should be working even after telegram was not used for 10 minutes or more.
Actual Behavior
Inline buttons are unresponsive. There is animation on button as it is tapped but nothing happens. There is no webhook requests on backend side.
Steps to Reproduce
-
Open chat with BotFather
-
navigate to bot list (create bot if this list is empty)
-
choose bot (bot updates existing message and changes inline buttons)
-
lock phone (I suppose "switch to another app" will work too, but not tested myself)
-
wait for 10 minutes (maybe less) and then open private chat with bot
-
try to tap on inline buttons
Screenshots and Videos
https://github.com/user-attachments/assets/49b399d5-27bd-41d7-ba2e-8ac3a50fca08
If you send message to bot it will work again straightaway. https://github.com/user-attachments/assets/56e5ad1b-d0e9-45c0-8cc4-453ae07e0455
Environment
Device: iPhone 14 Pro
iOS version: 18.5
App version: 11.13.3 (31109)
I added this bug to https://bugs.telegram.org/c/52605. Is it okay?
Hi @varemel. Is there any news related to this issue?