peyk.platforms.telegram.types.birthdate¶
Classes
|
Describes the birthdate of a user. |
- class peyk.platforms.telegram.types.birthdate.Birthdate(day: int, month: int, year: int | None = None)[source]¶
Bases:
objectDescribes the birthdate of a user.
- Variables:
day (int) – Day of the user’s birth; 1-31
month (int) – Month of the user’s birth; 1-12
year (int | None) – Year of the user’s birth
- day: int¶
- month: int¶
- year: int | None = None¶