public static class TdApi.PhoneNumberInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.CountryInfo |
country
Information about the country to which the phone number belongs; may be null.
|
java.lang.String |
countryCallingCode
The part of the phone number denoting country calling code or its part.
|
java.lang.String |
formattedPhoneNumber
The phone number without country calling code formatted accordingly to local rules.
|
Constructor and Description |
---|
PhoneNumberInfo()
Contains information about a phone number.
|
PhoneNumberInfo(TdApi.CountryInfo country,
java.lang.String countryCallingCode,
java.lang.String formattedPhoneNumber)
Contains information about a phone number.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.CountryInfo country
public java.lang.String countryCallingCode
public java.lang.String formattedPhoneNumber
public static final int CONSTRUCTOR
public PhoneNumberInfo()
public PhoneNumberInfo(TdApi.CountryInfo country, java.lang.String countryCallingCode, java.lang.String formattedPhoneNumber)
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.public int getConstructor()
getConstructor
in class TdApi.Object