Bug in updating the inline keyboard #20
-
|
Whenever an inline keyboard has to be edited and have a new caption and components (buttons), the caption gets edited but the buttons will not be updated until the user quits the conversation and re-enter it. Here is the code: if callback.data == "help":
new_caption = "This is the new caption"
await callback.message.edit(text= new_caption,
components=Components(
inline_keyboards=[InlineKeyboard("⤴️ back", callback_data="back")] ))So in the main menu, if I click on "help", the caption will be edited to This problem only exists in Android version of Bale Messenger; thus it is not reproducible in Windows and Linux web interfaces. Since the bot works fine in the web version, I think the problem is not with the code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If this problem is only for Android versions, then it is definitely not a code problem. Please make sure you have the latest version of Bale Messenger |
Beta Was this translation helpful? Give feedback.
If this problem is only for Android versions, then it is definitely not a code problem. Please make sure you have the latest version of Bale Messenger