- Enclosing class:
- TdApi
Returns one of the available Telegram Passport elements.
Returns
PassportElement-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe 2-step verification password of the current user.Telegram Passport element type. -
Constructor Summary
ConstructorsConstructorDescriptionReturns 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-