peyk.platforms.rubika.types.aux_data

Classes

AuxData([start_id, button_id])

Callback data -- carries the button that was pressed.

class peyk.platforms.rubika.types.aux_data.AuxData(start_id: str | None = None, button_id: str | None = None)[source]

Bases: object

Callback data – carries the button that was pressed.

Confirmed from the docs’ receiveUpdate/receiveInlineMessage example bodies.

start_id: str | None = None
button_id: str | None = None
classmethod from_dict(data: dict | None) AuxData | None[source]

Performs the from dict operation for the Rubika client.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the Rubika operation.