public static class TdApi.InputPassportElementError 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.InputPassportElementErrorSource |
source
Error source.
|
TdApi.PassportElementType |
type
Type of Telegram Passport element that has the error.
|
| Constructor and Description |
|---|
InputPassportElementError()
Contains the description of an error in a Telegram Passport element; for bots only.
|
InputPassportElementError(TdApi.PassportElementType type,
java.lang.String message,
TdApi.InputPassportElementErrorSource source)
Contains the description of an error in a Telegram Passport element; for bots only.
|
| 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.InputPassportElementErrorSource source
public static final int CONSTRUCTOR
public InputPassportElementError()
public InputPassportElementError(TdApi.PassportElementType type, java.lang.String message, TdApi.InputPassportElementErrorSource source)
type - Type of Telegram Passport element that has the error.message - Error message.source - Error source.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object