ReplyKeyboardMarkup
- class aiogram.types.reply_keyboard.ReplyKeyboardMarkup(keyboard: Optional[List[List[KeyboardButton]]] = None, resize_keyboard: Optional[Boolean] = None, one_time_keyboard: Optional[Boolean] = None, input_field_placeholder: Optional[String] = None, selective: Optional[Boolean] = None, row_width: Integer = 3, is_persistent: Optional[Boolean] = None, conf=None)[source]
Bases:
TelegramObject
This object represents a custom keyboard with reply options (see https://core.telegram.org/bots#keyboards to bots for details and examples).
https://core.telegram.org/bots/api#replykeyboardmarkup
Deserialize object
- Parameters
conf –
kwargs –
ReplyKeyboardRemove
- class aiogram.types.reply_keyboard.ReplyKeyboardRemove(selective: Optional[Boolean] = None)[source]
Bases:
TelegramObject
Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup).
https://core.telegram.org/bots/api#replykeyboardremove
Deserialize object
- Parameters
conf –
kwargs –