PassportElementErrorDataField
class PassportElementErrorDataField implements PassportElementErrorInterface
Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.
Methods
No description
Error source, must be data.
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”.
Name of the data field which has the error.
Base64-encoded data hash.
Error message.
Details
at line 17
__construct(string $source, string $type, string $field_name, string $data_hash, string $message)
No description
at line 29
string
getSource()
Error source, must be data.
at line 37
string
getType()
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”.
at line 45
string
getFieldName()
Name of the data field which has the error.
at line 53
string
getDataHash()
Base64-encoded data hash.
at line 61
string
getMessage()
Error message.