1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
secureValueErrorTranslationFile | Secure value error translation file | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureValueErrorTranslationFile
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'}