0

I would like to hide a InlineKeyboardMarkup if no answer is provided. I'm using Python and python-telegram-bot. Is this possible?

Thank you.

ebdecastro
  • 61
  • 1
  • 2
  • 11

2 Answers2

0

You can send editMessageReplyMarkup without reply_markup parament.

As I know, there is no method can remove keyboard without sending messages, but you can send a simple message with ReplyKeyboardRemove and delete message via deleteMessage method immediately.

Sean Wei
  • 7,433
  • 1
  • 19
  • 39
0

Just edit the message sent without providing a reply_markup.

ebdecastro
  • 61
  • 1
  • 2
  • 11