Class PassportElementErrorSelfie
Object
PassportElementErrorSelfie
- All Implemented Interfaces:
Serializable,BotApiObject,Validable,PassportElementError
- Version:
- 4.0.0 Represents an error in a file with a selfie. The error is considered resolved when the file with the selfie changes.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
PassportElementErrorSelfie
public PassportElementErrorSelfie()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-