setting resize_keyboard=True for slightly smaller Telegram buttons

This commit is contained in:
raoulus 2021-02-04 15:27:18 +01:00
parent e8e5acc2e2
commit 99b2214d1f

View File

@ -910,7 +910,7 @@ class Telegram(RPCHandler):
:param parse_mode: telegram parse mode
:return: None
"""
reply_markup = ReplyKeyboardMarkup(self._keyboard)
reply_markup = ReplyKeyboardMarkup(self._keyboard, resize_keyboard=True)
try:
try:
self._updater.bot.send_message(