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 intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the user changed name last time; 0 if unknown.intPoint 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.intMonth when the user was registered in Telegram; 0-12; may be 0 if unknown.intYear 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 TypeMethodDescriptionintReturns 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-