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

1.5 KiB

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

Constructor: secureValueErrorFile

Back to constructors index

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

Attributes:

Name Type Required Description
type SecureValueType Yes One of secureValueTypeUtilityBill, secureValueTypeBankStatement, secureValueTypeRentalAgreement, secureValueTypePassportRegistration, secureValueTypeTemporaryRegistration
file_hash bytes Yes File hash
text string Yes Error message

Type: SecureValueError

Example:

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

Or, if you're into Lua:

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