- Enclosing class:
- TdApi
Returns information about a phone
number by its prefix. Can be called before authorization.
Returns
PhoneNumberInfo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The phone number prefix. -
Constructor Summary
ConstructorDescriptionReturns information about a phone number by its prefix.GetPhoneNumberInfo
(DataInput input) Returns information about a phone number by its prefix.GetPhoneNumberInfo
(String phoneNumberPrefix) Returns information about a phone number by its prefix. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
phoneNumberPrefix
The phone number prefix. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetPhoneNumberInfo
public GetPhoneNumberInfo()Returns information about a phone number by its prefix. Can be called before authorization. ReturnsPhoneNumberInfo
-
GetPhoneNumberInfo
Returns information about a phone number by its prefix. Can be called before authorization. ReturnsPhoneNumberInfo
- Parameters:
phoneNumberPrefix
- String The phone number prefix.
-
GetPhoneNumberInfo
Returns information about a phone number by its prefix. Can be called before authorization. ReturnsPhoneNumberInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-