public static class TdApi.GetPassportElement extends TdApi.Function<TdApi.PassportElement>
Returns PassportElement
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
password
The 2-step verification 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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 - The 2-step verification password of the current user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object