Package it.tdlight.jni
Class TdApi.PassportElementPhoneNumber
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PassportElement
it.tdlight.jni.TdApi.PassportElementPhoneNumber
- Enclosing class:
- TdApi
public static class TdApi.PassportElementPhoneNumber extends TdApi.PassportElement
A Telegram Passport element containing
the user's phone number.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
phoneNumber
Phone number. -
Constructor Summary
Constructors Constructor Description PassportElementPhoneNumber()
A Telegram Passport element containing the user's phone number.PassportElementPhoneNumber(DataInput input)
PassportElementPhoneNumber(String phoneNumber)
A Telegram Passport element containing the user's phone number. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
phoneNumber
Phone number. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PassportElementPhoneNumber
public PassportElementPhoneNumber()A Telegram Passport element containing the user's phone number. -
PassportElementPhoneNumber
A Telegram Passport element containing the user's phone number.- Parameters:
phoneNumber
- String Phone number.
-
PassportElementPhoneNumber
- 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()
-