PassportElementErrorReverseSide
class PassportElementErrorReverseSide implements PassportElementErrorInterface
Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.
Methods
__construct(string $source, string $type, string $file_hash, string $message)
No description
string
getSource()
Error source, must be reverse_side.
string
getType()
The section of the user's Telegram Passport which has the issue, one of “driver_license”, “identity_card”.
string
getFileHash()
Base64-encoded hash of the file with the reverse side of the document.
string
getMessage()
Error message.
Details
at line 16
__construct(string $source, string $type, string $file_hash, string $message)
No description
at line 27
string
getSource()
Error source, must be reverse_side.
at line 35
string
getType()
The section of the user's Telegram Passport which has the issue, one of “driver_license”, “identity_card”.
at line 43
string
getFileHash()
Base64-encoded hash of the file with the reverse side of the document.
at line 51
string
getMessage()
Error message.