peyk.platforms.telegram.types.inline_keyboard_markup¶
Classes
|
This object represents an inline keyboard that appears right next to the message it belongs to. |
- class peyk.platforms.telegram.types.inline_keyboard_markup.InlineKeyboardMarkup(inline_keyboard: ~typing.List[~typing.List[~peyk.platforms.telegram.types.inline_keyboard_button.InlineKeyboardButton]] = <factory>)[source]¶
Bases:
objectThis object represents an inline keyboard that appears right next to the message it belongs to.
- Variables:
inline_keyboard (List[List[peyk.platforms.telegram.types.inline_keyboard_button.InlineKeyboardButton]]) – Array of button rows, each represented by an Array of InlineKeyboardButton objects
- inline_keyboard: List[List[InlineKeyboardButton]]¶
- classmethod from_dict(data: dict | None) InlineKeyboardMarkup | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.