def hide_keyboard(bot, chat_id, text):
reply_markup = ReplyKeyboardRemove()
try:
bot.sendMessage(chat_id=chat_id, text=text, reply_markup=reply_markup)
except:
sleep(1)
bot.sendMessage(chat_id=chat_id, text=text, reply_markup=reply_markup)
评论列表
文章目录