Class PassportElementErrorTranslationFile
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorTranslationFile
-
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,PassportElementError
public class PassportElementErrorTranslationFile extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PassportElementErrorTranslationFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
validate
public void validate() throws TelegramApiValidationException
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
-
-