Class PassportElementErrorSelfie
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorSelfie
-
- All Implemented Interfaces:
Serializable,BotApiObject,Validable,PassportElementError
public class PassportElementErrorSelfie extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PassportElementErrorSelfie()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
validate
public void validate() throws TelegramApiValidationExceptionDescription copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
-