From a209f1c1b5f5dbc3e6465fa6f3d83a848c11d62f Mon Sep 17 00:00:00 2001 From: Nikita <78080842+NiKuma0@users.noreply.github.com> Date: Mon, 15 Aug 2022 14:17:30 +0300 Subject: [PATCH] Fix: tuple to list --- aiogram/types/inline_keyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/types/inline_keyboard.py b/aiogram/types/inline_keyboard.py index d0380fdb..fd8f0e75 100644 --- a/aiogram/types/inline_keyboard.py +++ b/aiogram/types/inline_keyboard.py @@ -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):