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

1.1 KiB

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

Constructor: secureValueErrorReverseSide

Back to constructors index

Attributes:

Name Type Required
type SecureValueType Yes
file_hash bytes Yes
text string Yes

Type: SecureValueError

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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