Package org.drinkless.tdlib
Class TdApi.GetPassportElement
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.PassportElement>
org.drinkless.tdlib.TdApi.GetPassportElement
- Enclosing class:
- TdApi
Returns one of the available Telegram Passport elements.
Returns PassportElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The 2-step verification password of the current user.Telegram Passport element type. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns one of the available Telegram Passport elements.GetPassportElement(TdApi.PassportElementType type, String password) Creates a function, which returns one of the available Telegram Passport elements. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
type
Telegram Passport element type. -
password
The 2-step verification password of the current user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPassportElement
public GetPassportElement()Default constructor for a function, which returns one of the available Telegram Passport elements.Returns
PassportElement -
GetPassportElement
Creates a function, which returns one of the available Telegram Passport elements.Returns
PassportElement- Parameters:
type- Telegram Passport element type.password- The 2-step verification password of the current user.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-