mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix: tuple to list
This commit is contained in:
parent
e10b7cc774
commit
a209f1c1b5
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue