Package org.drinkless.tdlib
Class TdApi.PassportElementError
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PassportElementError
-
- Enclosing class:
- TdApi
public static class TdApi.PassportElementError extends TdApi.Object
Contains the description of an error in a Telegram Passport element.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringmessageError message.TdApi.PassportElementErrorSourcesourceError source.TdApi.PassportElementTypetypeType of the Telegram Passport element which has the error.
-
Constructor Summary
Constructors Constructor Description PassportElementError()Contains the description of an error in a Telegram Passport element.PassportElementError(TdApi.PassportElementType type, String message, TdApi.PassportElementErrorSource source)Contains the description of an error in a Telegram Passport element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
type
public TdApi.PassportElementType type
Type of the Telegram Passport element which has the error.
-
message
public String message
Error message.
-
source
public TdApi.PassportElementErrorSource source
Error source.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PassportElementError
public PassportElementError()
Contains the description of an error in a Telegram Passport element.
-
PassportElementError
public PassportElementError(TdApi.PassportElementType type, String message, TdApi.PassportElementErrorSource source)
Contains the description of an error in a Telegram Passport element.- Parameters:
type- Type of the Telegram Passport element which has the error.message- Error message.source- Error source.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-