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

1.4 KiB

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

Constructor: secureValueErrorSelfie

Back to constructors index

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie 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:

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