Is there a way to show some visual indication that the inline button has been pressed in telegram bot.
I have a bit which send inline keyboard, and when I press each buttons it works perfectly fine, but there is a slight delay in getting response from the server. As there is no visual indication to show if a button has been pressed, it is confusing for uses to know if the button was pressed and end up pressing the same button several times.
As an alternative way, after you got the callback response at your server, you can use Emoji for showing feedback to your users. Just edit the inline message and edit some relative emoji to the button text.
there are different types of inline buttons in Telegram:
url
).switch_inline_query
).switch_inline_query_current_chat
).callback_data
).I suppose you are refering to the last type of button, in that case, if a user press a button you will get the
callback_data
via CallbackQuery, and that lets you modify the original message with editMessageText to add something like: