Package it.tdlight.jni
Class TdApi.InputPassportElementPhoneNumber
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputPassportElement
it.tdlight.jni.TdApi.InputPassportElementPhoneNumber
- Enclosing class:
- TdApi
public static class TdApi.InputPassportElementPhoneNumber extends TdApi.InputPassportElement
A Telegram Passport element to be
saved containing the user's phone number.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
phoneNumber
The phone number to be saved. -
Constructor Summary
Constructors Constructor Description InputPassportElementPhoneNumber()
A Telegram Passport element to be saved containing the user's phone number.InputPassportElementPhoneNumber(DataInput input)
InputPassportElementPhoneNumber(String phoneNumber)
A Telegram Passport element to be saved containing the user's phone number. -
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.Object
serialize, toString
-
Field Details
-
phoneNumber
The phone number to be saved. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InputPassportElementPhoneNumber
public InputPassportElementPhoneNumber()A Telegram Passport element to be saved containing the user's phone number. -
InputPassportElementPhoneNumber
A Telegram Passport element to be saved containing the user's phone number.- Parameters:
phoneNumber
- String The phone number to be saved.
-
InputPassportElementPhoneNumber
- 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()
-