public static class TdApi.PassportElementError extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
message
Error message.
|
TdApi.PassportElementErrorSource |
source
Error source.
|
TdApi.PassportElementType |
type
Type of the Telegram Passport element which has the error.
|
| Constructor and Description |
|---|
PassportElementError()
Contains the description of an error in a Telegram Passport element.
|
PassportElementError(TdApi.PassportElementType type,
java.lang.String message,
TdApi.PassportElementErrorSource source)
Contains the description of an error in a Telegram Passport element.
|
| 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 message
public TdApi.PassportElementErrorSource source
public static final int CONSTRUCTOR
public PassportElementError()
public PassportElementError(TdApi.PassportElementType type, java.lang.String message, TdApi.PassportElementErrorSource source)
type - Type of the Telegram Passport element which has the error.message - Error message.source - Error source.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object