I made a telegram bot with an inline keyboard.(via InlineKeyboardMarkup
)
I like to hide (or make it one-time) keyboard after user response.
How can I do that in PHP?
Here is a view of my bot:
Try updating the message with editMessageText method and empty markup.
There is method editMessageReplyMarkup
. You can transfer empty inline_keyboard
param. But it's may not working on some devices (i have problem with iphone, for problem devieces you can edit markup to "thanks" button, and after remomeve it)
actually by getting the message ID and using deleteMessage
you can make the keyboard disappear.
here is the description >> Telegram Bot ApI i hope this help you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With