Telegram bot: How do I hide inline keyboard ? PHP
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 ApIi hope this help you