Package org.drinkless.tdlib
Class TdApi.InputPassportElementError
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputPassportElementError
-
- Enclosing class:
- TdApi
public static class TdApi.InputPassportElementError extends TdApi.Object
Contains the description of an error in a Telegram Passport element; for bots only.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringmessageError message.TdApi.InputPassportElementErrorSourcesourceError source.TdApi.PassportElementTypetypeType of Telegram Passport element that has the error.
-
Constructor Summary
Constructors Constructor Description InputPassportElementError()Contains the description of an error in a Telegram Passport element; for bots only.InputPassportElementError(TdApi.PassportElementType type, String message, TdApi.InputPassportElementErrorSource source)Contains the description of an error in a Telegram Passport element; for bots only.
-
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 Telegram Passport element that has the error.
-
message
public String message
Error message.
-
source
public TdApi.InputPassportElementErrorSource source
Error source.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputPassportElementError
public InputPassportElementError()
Contains the description of an error in a Telegram Passport element; for bots only.
-
InputPassportElementError
public InputPassportElementError(TdApi.PassportElementType type, String message, TdApi.InputPassportElementErrorSource source)
Contains the description of an error in a Telegram Passport element; for bots only.- Parameters:
type- Type of Telegram Passport element that has the error.message- Error message.source- Error source.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-