peyk.platforms.telegram.types.prepared_keyboard_button

Classes

PreparedKeyboardButton([text])

Describes a keyboard button to be used by a user of a Mini App.

class peyk.platforms.telegram.types.prepared_keyboard_button.PreparedKeyboardButton(text: str = '')[source]

Bases: object

Describes a keyboard button to be used by a user of a Mini App.

Variables:

id – Unique identifier of the keyboard button

text: str = ''
classmethod from_dict(data: dict | None) PreparedKeyboardButton | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.