public static class TdApi.GetPhoneNumberInfoSync extends TdApi.Function<TdApi.PhoneNumberInfo>
Returns PhoneNumberInfo
| 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 language 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.
|
GetPhoneNumberInfoSync(java.lang.String languageCode,
java.lang.String phoneNumberPrefix)
Creates a function, which returns information about a phone number by its prefix synchronously.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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 language code for country information localization.phoneNumberPrefix - The phone number prefix.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object