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

1.2 KiB

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

Constructor: secureValueErrorTranslationFiles

Back to constructors index

Secure value error translation files

Attributes:

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

Type: SecureValueError

Example:

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

PWRTelegram json-encoded version:

{"_": "secureValueErrorTranslationFiles", "type": SecureValueType, "file_hash": [{"_": "bytes", "bytes":"base64 encoded bytes"}], "text": "string"}

Or, if you're into Lua:

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