Class PassportElementErrorDataField
Object
PassportElementErrorDataField
- All Implemented Interfaces:
Serializable,BotApiObject,Validable,PassportElementError
- Version:
- 4.0.0 Represents an error in a field of data provided by a user. The error is considered resolved when the field's value 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
-
PassportElementErrorDataField
public PassportElementErrorDataField()
-
-
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
-