public static class TdApi.SetPassportElementErrors extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputPassportElementError[] |
errors
The errors.
|
long |
userId
User identifier.
|
Constructor and Description |
---|
SetPassportElementErrors()
Default constructor for a function, which informs the user that some of the elements in their Telegram Passport contain errors; for bots only.
|
SetPassportElementErrors(long userId,
TdApi.InputPassportElementError[] errors)
Creates a function, which informs the user that some of the elements in their Telegram Passport contain errors; for bots only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long userId
public TdApi.InputPassportElementError[] errors
public static final int CONSTRUCTOR
public SetPassportElementErrors()
Returns Ok
public SetPassportElementErrors(long userId, TdApi.InputPassportElementError[] errors)
Returns Ok
userId
- User identifier.errors
- The errors.public int getConstructor()
getConstructor
in class TdApi.Function