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

1.5 KiB

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