MadelineProtoDocs/docs/API_docs/constructors/secureValueErrorTranslation...

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'}