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

1.0 KiB

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

Constructor: secureValueError

Back to constructors index

Secure value error

Attributes:

Name Type Required Description
type SecureValueType Yes Type
hash bytes Yes Hash
text string Yes Text

Type: SecureValueError

Example:

$secureValueError = ['_' => 'secureValueError', 'type' => SecureValueType, 'hash' => 'bytes', 'text' => 'string'];

PWRTelegram json-encoded version:

{"_": "secureValueError", "type": SecureValueType, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}

Or, if you're into Lua:

secureValueError={_='secureValueError', type=SecureValueType, hash='bytes', text='string'}