Package org.drinkless.tdlib
Class TdApi.GetPassportElement
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetPassportElement
-
- Enclosing class:
- TdApi
public static class TdApi.GetPassportElement extends TdApi.Function
Returns one of the available Telegram Passport elements.Returns
PassportElement
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringpasswordPassword of the current user.TdApi.PassportElementTypetypeTelegram Passport element type.
-
Constructor Summary
Constructors Constructor Description GetPassportElement()Default 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
type
public TdApi.PassportElementType type
Telegram Passport element type.
-
password
public String password
Password of the current user.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetPassportElement
public GetPassportElement()
Default constructor for a function, which returns one of the available Telegram Passport elements.Returns
PassportElement
-
GetPassportElement
public GetPassportElement(TdApi.PassportElementType type, String password)
Creates a function, which returns one of the available Telegram Passport elements.Returns
PassportElement- Parameters:
type- Telegram Passport element type.password- Password of the current user.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-