Fix: tuple to list

This commit is contained in:
Nikita 2022-08-15 14:17:30 +03:00 committed by GitHub
parent e10b7cc774
commit a209f1c1b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ class InlineKeyboardMarkup(base.TelegramObject):
:return: self
:rtype: :obj:`types.InlineKeyboardMarkup`
"""
self.inline_keyboard.append(buttons or [])
self.inline_keyboard.append(list(buttons) or [])
return self
def insert(self, button):