mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
aiogram.types.inline_keyboard: fixed adding other.keyboard for a new keyboard
This commit is contained in:
parent
efbef64cd3
commit
46de5ecb0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue