peyk.platforms.telegram.types.menu_button_commands¶
Classes
|
Represents a menu button, which opens the bot's list of commands. |
- class peyk.platforms.telegram.types.menu_button_commands.MenuButtonCommands(type: str = 'commands')[source]¶
Bases:
objectRepresents a menu button, which opens the bot’s list of commands.
- Variables:
type (str) – Type of the button, must be commands
- type: str = 'commands'¶
- classmethod from_dict(data: dict | None) → MenuButtonCommands | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.