Telegram bot: How do I hide inline keyboard ? PHP

Seyfi picture Seyfi · Jun 18, 2016 · Viewed 10.1k times · Source

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:

Answer

Dmitry picture Dmitry · Jun 20, 2016

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)