Class PassportElementErrorReverseSide
java.lang.Object
org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorReverseSide
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,PassportElementError
- Version:
- 4.0.0 Represents an error in a file with a document‘s reverse side. The error is considered resolved when the file with the document’s reverse side changes.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
PassportElementErrorReverseSide
public PassportElementErrorReverseSide()
-
-
Method Details
-
validate
Description copied from interface:Validable
Validates that mandatory fields are filled and optional objects- Specified by:
validate
in interfaceValidable
- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-