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

2.0 KiB

title description nav_exclude image
secureValueErrorTranslationFile Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureValueErrorTranslationFile

Back to constructors index

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

Attributes:

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

Type: SecureValueError

Example:

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