public static class TdApi.SetPassportElementErrors extends TdApi.Function<TdApi.Ok>
Returns Ok
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object