public static class TdApi.GetPhoneNumberInfoSync extends TdApi.Function
Returns PhoneNumberInfo
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
languageCode
A two-letter ISO 639-1 country code for country information localization.
|
java.lang.String |
phoneNumberPrefix
The phone number prefix.
|
Constructor and Description |
---|
GetPhoneNumberInfoSync()
Default constructor for a function, which returns information about a phone number by its prefix synchronously. getCountries must be called at least once after changing localization to the specified language if properly localized country information is expected.
|
GetPhoneNumberInfoSync(java.lang.String languageCode,
java.lang.String phoneNumberPrefix)
Creates a function, which returns information about a phone number by its prefix synchronously. getCountries must be called at least once after changing localization to the specified language if properly localized country information is expected.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String languageCode
public java.lang.String phoneNumberPrefix
public static final int CONSTRUCTOR
public GetPhoneNumberInfoSync()
Returns PhoneNumberInfo
public GetPhoneNumberInfoSync(java.lang.String languageCode, java.lang.String phoneNumberPrefix)
Returns PhoneNumberInfo
languageCode
- A two-letter ISO 639-1 country code for country information localization.phoneNumberPrefix
- The phone number prefix.public int getConstructor()
getConstructor
in class TdApi.Function