MadelineProtoDocs/old_docs/API_docs_v81/constructors/secureValueErrorSelfie.md
2019-12-27 17:48:04 +01:00

1.4 KiB

title description image
secureValueErrorSelfie Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes. 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'];

Or, if you're into Lua:

secureValueErrorSelfie={_='secureValueErrorSelfie', type=SecureValueType, file_hash='bytes', text='string'}