public static class TdApi.GetPassportElement extends TdApi.Function
Returns PassportElement
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
password
Password of the current user.
|
TdApi.PassportElementType |
type
Telegram Passport element type.
|
Constructor and Description |
---|
GetPassportElement()
Default constructor for a function, which returns one of the available Telegram Passport elements.
|
GetPassportElement(TdApi.PassportElementType type,
java.lang.String password)
Creates a function, which returns one of the available Telegram Passport elements.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.PassportElementType type
public java.lang.String password
public static final int CONSTRUCTOR
public GetPassportElement()
Returns PassportElement
public GetPassportElement(TdApi.PassportElementType type, java.lang.String password)
Returns PassportElement
type
- Telegram Passport element type.password
- Password of the current user.public int getConstructor()
getConstructor
in class TdApi.Function