Package org.drinkless.tdlib
Class TdApi.PersonalDetails
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PersonalDetails
-
- Enclosing class:
- TdApi
public static class TdApi.PersonalDetails extends TdApi.Object
Contains the user's personal details.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.DatebirthdateBirthdate of the user.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringcountryCodeA two-letter ISO 3166-1 alpha-2 country code of the user's country.StringfirstNameFirst name of the user written in English; 1-255 characters.StringgenderGender of the user, "male" or "female".StringlastNameLast name of the user written in English; 1-255 characters.StringmiddleNameMiddle name of the user written in English; 0-255 characters.StringnativeFirstNameNative first name of the user; 1-255 characters.StringnativeLastNameNative last name of the user; 1-255 characters.StringnativeMiddleNameNative middle name of the user; 0-255 characters.StringresidenceCountryCodeA two-letter ISO 3166-1 alpha-2 country code of the user's residence country.
-
Constructor Summary
Constructors Constructor Description PersonalDetails()Contains the user's personal details.PersonalDetails(String firstName, String middleName, String lastName, String nativeFirstName, String nativeMiddleName, String nativeLastName, TdApi.Date birthdate, String gender, String countryCode, String residenceCountryCode)Contains the user's personal details.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
firstName
public String firstName
First name of the user written in English; 1-255 characters.
-
middleName
public String middleName
Middle name of the user written in English; 0-255 characters.
-
lastName
public String lastName
Last name of the user written in English; 1-255 characters.
-
nativeFirstName
public String nativeFirstName
Native first name of the user; 1-255 characters.
-
nativeMiddleName
public String nativeMiddleName
Native middle name of the user; 0-255 characters.
-
nativeLastName
public String nativeLastName
Native last name of the user; 1-255 characters.
-
birthdate
public TdApi.Date birthdate
Birthdate of the user.
-
gender
public String gender
Gender of the user, "male" or "female".
-
countryCode
public String countryCode
A two-letter ISO 3166-1 alpha-2 country code of the user's country.
-
residenceCountryCode
public String residenceCountryCode
A two-letter ISO 3166-1 alpha-2 country code of the user's residence country.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PersonalDetails
public PersonalDetails()
Contains the user's personal details.
-
PersonalDetails
public PersonalDetails(String firstName, String middleName, String lastName, String nativeFirstName, String nativeMiddleName, String nativeLastName, TdApi.Date birthdate, String gender, String countryCode, String residenceCountryCode)
Contains the user's personal details.- Parameters:
firstName- First name of the user written in English; 1-255 characters.middleName- Middle name of the user written in English; 0-255 characters.lastName- Last name of the user written in English; 1-255 characters.nativeFirstName- Native first name of the user; 1-255 characters.nativeMiddleName- Native middle name of the user; 0-255 characters.nativeLastName- Native last name of the user; 1-255 characters.birthdate- Birthdate of the user.gender- Gender of the user, "male" or "female".countryCode- A two-letter ISO 3166-1 alpha-2 country code of the user's country.residenceCountryCode- A two-letter ISO 3166-1 alpha-2 country code of the user's residence country.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-