Package org.drinkless.tdlib
Class TdApi.AccountInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AccountInfo
- Enclosing class:
- TdApi
Contains basic information about another user that started a chat with the current user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when the user changed name last time; 0 if unknown.int
Point in time (Unix timestamp) when the user changed photo last time; 0 if unknown.A two-letter ISO 3166-1 alpha-2 country code based on the phone number of the user; may be empty if unknown.int
Month when the user was registered in Telegram; 0-12; may be 0 if unknown.int
Year when the user was registered in Telegram; 0-9999; may be 0 if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionContains basic information about another user that started a chat with the current user.AccountInfo
(int registrationMonth, int registrationYear, String phoneNumberCountryCode, int lastNameChangeDate, int lastPhotoChangeDate) Contains basic information about another user that started a chat with the current user. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
registrationMonth
public int registrationMonthMonth when the user was registered in Telegram; 0-12; may be 0 if unknown. -
registrationYear
public int registrationYearYear when the user was registered in Telegram; 0-9999; may be 0 if unknown. -
phoneNumberCountryCode
A two-letter ISO 3166-1 alpha-2 country code based on the phone number of the user; may be empty if unknown. -
lastNameChangeDate
public int lastNameChangeDatePoint in time (Unix timestamp) when the user changed name last time; 0 if unknown. -
lastPhotoChangeDate
public int lastPhotoChangeDatePoint in time (Unix timestamp) when the user changed photo last time; 0 if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AccountInfo
public AccountInfo()Contains basic information about another user that started a chat with the current user. -
AccountInfo
public AccountInfo(int registrationMonth, int registrationYear, String phoneNumberCountryCode, int lastNameChangeDate, int lastPhotoChangeDate) Contains basic information about another user that started a chat with the current user.- Parameters:
registrationMonth
- Month when the user was registered in Telegram; 0-12; may be 0 if unknown.registrationYear
- Year when the user was registered in Telegram; 0-9999; may be 0 if unknown.phoneNumberCountryCode
- A two-letter ISO 3166-1 alpha-2 country code based on the phone number of the user; may be empty if unknown.lastNameChangeDate
- Point in time (Unix timestamp) when the user changed name last time; 0 if unknown.lastPhotoChangeDate
- Point in time (Unix timestamp) when the user changed photo last time; 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
-