public static class TdApi.SetPassportElement extends TdApi.Function
Returns PassportElement
TdApi.Function.Constructors
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
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() |
toString
public 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
- Password of the current user.public int getConstructor()
getConstructor
in class TdApi.Function