MadelineProtoDocs/old_docs/API_docs_v81/constructors/secureValueErrorFile.md
2018-07-12 20:24:55 +02:00

1.0 KiB

title description image
secureValueErrorFile secureValueErrorFile attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureValueErrorFile

Back to constructors index

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'}