MadelineProtoDocs/docs/API_docs/constructors/secureValueErrorTranslationFile.md
2019-12-27 17:48:04 +01:00

2.0 KiB

title description 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. 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'];

Or, if you're into Lua:

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