From 46de5ecb0f9e43dc78b991874a5f18b8e42d14bc Mon Sep 17 00:00:00 2001 From: floordiv Date: Mon, 12 Apr 2021 15:20:01 +0300 Subject: [PATCH] aiogram.types.inline_keyboard: fixed adding other.keyboard for a new keyboard --- 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 8ba946e7..d3d28a74 100644 --- a/aiogram/types/inline_keyboard.py +++ b/aiogram/types/inline_keyboard.py @@ -88,7 +88,7 @@ class InlineKeyboardMarkup(base.TelegramObject): def __add__(self, other): return InlineKeyboardMarkup( - inline_keyboard=self.inline_keyboard, + inline_keyboard=self.inline_keyboard + other.keyboard, row_width=self.row_width, conf=self.conf, **self.other_kwargs