We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c043fb commit 33434acCopy full SHA for 33434ac
main.py
@@ -340,9 +340,7 @@ def cancel_cmd(bot, update):
340
341
def hide_cmd(bot, update):
342
"""Hides the keyboard in the specified chat."""
343
- chat_id = update.message.chat_id
344
- reply_markup = ReplyKeyboardRemove()
345
- bot.sendMessage(chat_id=chat_id, text="\U0001F44D", reply_markup=reply_markup)
+ update.message.reply_text("\U0001F44D", reply_markup=ReplyKeyboardRemove())
346
347
348
def mentions_cmd(bot, update):
0 commit comments