Class TdApi.Birthdate
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Birthdate
- Enclosing class:
- TdApi
Represents a birthdate of a user.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Day of the month; 1-31.int
Month of the year; 1-12.int
Birth year; 0 if unknown. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
day
public int dayDay of the month; 1-31. -
month
public int monthMonth of the year; 1-12. -
year
public int yearBirth year; 0 if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Birthdate
public Birthdate()Represents a birthdate of a user. -
Birthdate
public Birthdate(int day, int month, int year) Represents a birthdate of a user.- Parameters:
day
- Day of the month; 1-31.month
- Month of the year; 1-12.year
- Birth year; 0 if unknown.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-