MadelineProtoDocs/docs/API_docs/constructors/secureValueErrorFrontSide.md
2024-05-01 14:53:46 +02:00

1.4 KiB

title description nav_exclude image
secureValueErrorFrontSide Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureValueErrorFrontSide

Back to constructors index

Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.

Attributes:

Name Type Required Description
type SecureValueType Yes One of secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport
file_hash bytes Yes File hash
text string Yes Error message

Type: SecureValueError

Example:

$secureValueErrorFrontSide = ['_' => 'secureValueErrorFrontSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];