Merge pull request #4313 from raoulbuzziol/develop

setting resize_keyboard=True for slightly smaller Telegram buttons
This commit is contained in:
Matthias 2021-02-04 19:42:45 +01:00 committed by GitHub
commit 17e1cfbd43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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