1.0 KiB
1.0 KiB
title | description | image |
---|---|---|
secureValueErrorFile | secureValueErrorFile attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureValueErrorFile
Attributes:
Name | Type | Required |
---|---|---|
type | SecureValueType | Yes |
file_hash | bytes | Yes |
text | string | Yes |
Type: SecureValueError
Example:
$secureValueErrorFile = ['_' => 'secureValueErrorFile', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];
PWRTelegram json-encoded version:
{"_": "secureValueErrorFile", "type": SecureValueType, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}
Or, if you're into Lua:
secureValueErrorFile={_='secureValueErrorFile', type=SecureValueType, file_hash='bytes', text='string'}