Package org.drinkless.tdlib
Class TdApi.PhoneNumberInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PhoneNumberInfo
-
- Enclosing class:
- TdApi
public static class TdApi.PhoneNumberInfo extends TdApi.Object
Contains information about a phone number.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.CountryInfocountryInformation about the country to which the phone number belongs; may be null.StringcountryCallingCodeThe part of the phone number denoting country calling code or its part.StringformattedPhoneNumberThe phone number without country calling code formatted accordingly to local rules.
-
Constructor Summary
Constructors Constructor Description PhoneNumberInfo()Contains information about a phone number.PhoneNumberInfo(TdApi.CountryInfo country, String countryCallingCode, String formattedPhoneNumber)Contains information about a phone number.
-
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
-
country
public TdApi.CountryInfo country
Information about the country to which the phone number belongs; may be null.
-
countryCallingCode
public String countryCallingCode
The part of the phone number denoting country calling code or its part.
-
formattedPhoneNumber
public String formattedPhoneNumber
The phone number without country calling code formatted accordingly to local rules. Expected digits are returned as '-', but even more digits might be entered by the user.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PhoneNumberInfo
public PhoneNumberInfo()
Contains information about a phone number.
-
PhoneNumberInfo
public PhoneNumberInfo(TdApi.CountryInfo country, String countryCallingCode, String formattedPhoneNumber)
Contains information about a phone number.- Parameters:
country- Information about the country to which the phone number belongs; may be null.countryCallingCode- The part of the phone number denoting country calling code or its part.formattedPhoneNumber- The phone number without country calling code formatted accordingly to local rules. Expected digits are returned as '-', but even more digits might be entered by the user.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-