Class PassportElementErrorTranslationFile
java.lang.Object
org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorTranslationFile
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,PassportElementError
- Version:
- 4.1 Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
PassportElementErrorTranslationFile
public PassportElementErrorTranslationFile()
-
-
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
-