diff --git a/aiogram/types/inline_keyboard.py b/aiogram/types/inline_keyboard.py index d3d28a74..a9545f61 100644 --- a/aiogram/types/inline_keyboard.py +++ b/aiogram/types/inline_keyboard.py @@ -87,7 +87,7 @@ class InlineKeyboardMarkup(base.TelegramObject): return self.add(other) def __add__(self, other): - return InlineKeyboardMarkup( + return self.__class__( inline_keyboard=self.inline_keyboard + other.keyboard, row_width=self.row_width, conf=self.conf,