MadelineProtoDocs/old_docs/API_docs_v86/constructors/secureValueErrorTranslationFile.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

title description image
secureValueErrorTranslationFile Secure value error translation file https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureValueErrorTranslationFile

Back to constructors index

Secure value error translation file

Attributes:

Name Type Required Description
type SecureValueType Yes Type
file_hash bytes Yes File hash
text string Yes Text

Type: SecureValueError

Example:

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

PWRTelegram json-encoded version:

{"_": "secureValueErrorTranslationFile", "type": SecureValueType, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}

Or, if you're into Lua:

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