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

2.0 KiB

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

Constructor: secureValueErrorTranslationFiles

Back to constructors index

Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation changes.

Attributes:

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

Type: SecureValueError

Example:

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

Or, if you're into Lua:

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