public static class TdApi.SetPassportElement extends TdApi.Function<TdApi.PassportElement>
Returns PassportElement
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputPassportElement |
element
Input Telegram Passport element.
|
java.lang.String |
password
The 2-step verification password of the current user.
|
| Constructor and Description |
|---|
SetPassportElement()
Default constructor for a function, which adds an element to the user's Telegram Passport.
|
SetPassportElement(TdApi.InputPassportElement element,
java.lang.String password)
Creates a function, which adds an element to the user's Telegram Passport.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InputPassportElement element
public java.lang.String password
public static final int CONSTRUCTOR
public SetPassportElement()
Returns PassportElement
public SetPassportElement(TdApi.InputPassportElement element, java.lang.String password)
Returns PassportElement
element - Input Telegram Passport element.password - The 2-step verification password of the current user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object