public static class TdApi.Birthdate extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
day
Day of the month; 1-31.
|
int |
month
Month of the year; 1-12.
|
int |
year
Birth year; 0 if unknown.
|
| Constructor and Description |
|---|
Birthdate()
Represents a birthdate of a user.
|
Birthdate(int day,
int month,
int year)
Represents a birthdate of a user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int day
public int month
public int year
public static final int CONSTRUCTOR
public Birthdate()
public Birthdate(int day,
int month,
int year)
day - Day of the month; 1-31.month - Month of the year; 1-12.year - Birth year; 0 if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object