Inline Keyboard Markup¶
- class bale.InlineKeyboardMarkup¶
Bases:
BaseReplyMarkupExamples
- add(inline_keyboard_button, row=None)¶
Add an Inline Keyboard button to keyboards.
- Parameters:
inline_keyboard_button (
bale.InlineKeyboardButton) – The inline keyboard button.row (Optional[
int]) –The row where you want the button to be placed.
Warning
Your numbers in the “row” param must be natural and greater than 0.
- remove(item)¶
Remove a Reply Markup item from keyboards.
- Parameters:
item (
bale.ReplyMarkupItem) – The reply markup item.