- Enclosing class:
- TdApi
Returns one of the available Telegram Passport elements.
Returns
PassportElement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 2-step verification password of the current user.Telegram Passport element type. -
Constructor Summary
ConstructorDescriptionReturns one of the available Telegram Passport elements.GetPassportElement
(TdApi.PassportElementType type, String password) Returns one of the available Telegram Passport elements.GetPassportElement
(DataInput input) Returns one of the available Telegram Passport elements. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
type
Telegram Passport element type. -
password
The 2-step verification password of the current user. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetPassportElement
public GetPassportElement()Returns one of the available Telegram Passport elements. ReturnsPassportElement
-
GetPassportElement
Returns one of the available Telegram Passport elements. ReturnsPassportElement
- Parameters:
type
- PassportElementType Telegram Passport element type.password
- String The 2-step verification password of the current user.
-
GetPassportElement
Returns one of the available Telegram Passport elements. ReturnsPassportElement
- 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()
-