peyk.platforms.rubika.types.button_calendar¶
Classes
|
Represent the Rubika Bot API |
- class peyk.platforms.rubika.types.button_calendar.ButtonCalendar(default_value: str | None = None, type: str = 'DatePersian', min_year: str = '1300', max_year: str = '1450', title: str = '')[source]¶
Bases:
objectRepresent the Rubika Bot API
ButtonCalendartype.The class preserves the existing public fields and wire-format behavior.
- default_value: str | None = None¶
- type: str = 'DatePersian'¶
- min_year: str = '1300'¶
- max_year: str = '1450'¶
- title: str = ''¶
- classmethod from_dict(data: dict | None) → ButtonCalendar | 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.