MadelineProtoDocs/old_docs/API_docs_v38/constructors/secureValueErrorTranslationFiles.md
2020-06-16 17:50:25 +02: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 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'}