InlineKeyboardMarkup
- class aiogram.types.inline_keyboard.InlineKeyboardMarkup(row_width=3, inline_keyboard=None, **kwargs)[source]
Bases:
TelegramObject
This object represents an inline keyboard that appears right next to the message it belongs to.
Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.
https://core.telegram.org/bots/api#inlinekeyboardmarkup
Deserialize object
- Parameters
conf –
kwargs –
- add(*args)[source]
Add buttons
- Parameters
args –
- Returns
self
- Return type
types.InlineKeyboardMarkup