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

__construct(string $source, string $type, string[] $file_hashes, string $message)

No description

string
getSource()

Error source, must be translation_files.

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”.

array
getFileHashes()

List of base64-encoded file hashes.

string
getMessage()

Error message.

Details

at line 16
__construct(string $source, string $type, string[] $file_hashes, string $message)

No description

Parameters

string $source
string $type
string[] $file_hashes
string $message

at line 27
string getSource()

Error source, must be translation_files.

Return Value

string

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”.

Return Value

string

at line 45
array getFileHashes()

List of base64-encoded file hashes.

Return Value

array

at line 53
string getMessage()

Error message.

Return Value

string