peyk.platforms.rubika.types.button_selection_item¶
Classes
|
Represent the Rubika Bot API |
- class peyk.platforms.rubika.types.button_selection_item.ButtonSelectionItem(text: str = '', image_url: str | None = None, type: str | None = None)[source]¶
Bases:
objectRepresent the Rubika Bot API
ButtonSelectionItemtype.The class preserves the existing public fields and wire-format behavior.
- text: str = ''¶
- image_url: str | None = None¶
- type: str | None = None¶
- classmethod from_dict(data: dict | None) → ButtonSelectionItem | 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.