Package it.tdlight.jni
Class TdApi.GetPhoneNumberInfo
- Enclosing class:
- TdApi
public static class TdApi.GetPhoneNumberInfo extends TdApi.Function<TdApi.PhoneNumberInfo>
Returns information about a phone
number by its prefix. Can be called before authorization.
Returns PhoneNumberInfo
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
phoneNumberPrefix
The phone number prefix. -
Constructor Summary
Constructors Constructor Description GetPhoneNumberInfo()
Returns information about a phone number by its prefix.GetPhoneNumberInfo(DataInput input)
GetPhoneNumberInfo(String phoneNumberPrefix)
Returns information about a phone number by its prefix. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
Constructor Details
-
GetPhoneNumberInfo
public GetPhoneNumberInfo()Returns information about a phone number by its prefix. Can be called before authorization.Returns
PhoneNumberInfo
-
GetPhoneNumberInfo
Returns information about a phone number by its prefix. Can be called before authorization.Returns
PhoneNumberInfo
- Parameters:
phoneNumberPrefix
- String The phone number prefix.
-
GetPhoneNumberInfo
- 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()
-