Menu Keyboard Markup¶
- class bale.MenuKeyboardMarkup¶
Bases:
BaseReplyMarkup
Examples
- add(keyboard_button, row=None)¶
Add a Menu Keyboard button to keyboards.
- Parameters:
keyboard_button (
bale.MenuKeyboardButton
) – The menu keyboard button.row (
int
, optional) –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.