peyk.platforms.telegram.types.disabled_button

Classes

DisabledButton()

Newer addition -- marks an inline button disabled (does nothing).

class peyk.platforms.telegram.types.disabled_button.DisabledButton[source]

Bases: object

Newer addition – marks an inline button disabled (does nothing). Currently holds no information.

classmethod from_dict(data: dict | None) DisabledButton | 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.