Package org.drinkless.tdlib
Class TdApi.Birthdate
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Birthdate
- Enclosing class:
- TdApi
Represents a birthdate of a user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intDay of the month; 1-31.intMonth of the year; 1-12.intBirth year; 0 if unknown. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-