peyk.platforms.telegram.types.menu_button_default

Classes

MenuButtonDefault([type])

Describes that no specific value for the menu button was set.

class peyk.platforms.telegram.types.menu_button_default.MenuButtonDefault(type: str = 'default')[source]

Bases: object

Describes that no specific value for the menu button was set.

Variables:

type (str) – Type of the button, must be default

type: str = 'default'
classmethod from_dict(data: dict | None) MenuButtonDefault | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.

to_dict() Dict[str, object][source]

Provides the to dict operation for the Telegram integration.

Returns:

Result produced by the operation.