MadelineProtoDocs/old_docs/API_docs_v25/constructors/secureValueErrorFrontSide.md
2020-06-16 17:50:25 +02:00

1.5 KiB

title description 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. 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'];

Or, if you're into Lua:

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