PassportElementErrorTranslationFiles
class PassportElementErrorTranslationFiles implements PassportElementErrorInterface
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
Methods
No description
Error source, must be translation_files.
Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”.
List of base64-encoded file hashes.
Error message.
Details
at line 16
__construct(string $source, string $type, string[] $file_hashes, string $message)
No description
at line 27
string
getSource()
Error source, must be translation_files.
at line 35
string
getType()
Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”.
at line 45
array
getFileHashes()
List of base64-encoded file hashes.
at line 53
string
getMessage()
Error message.