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

1.2 KiB

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

Constructor: secureValueErrorData

Back to constructors index

Secure value error data

Attributes:

Name Type Required Description
type SecureValueType Yes Type
data_hash bytes Yes Data hash
field string Yes Field
text string Yes Text

Type: SecureValueError

Example:

$secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueType, 'data_hash' => 'bytes', 'field' => 'string', 'text' => 'string'];

PWRTelegram json-encoded version:

{"_": "secureValueErrorData", "type": SecureValueType, "data_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "field": "string", "text": "string"}

Or, if you're into Lua:

secureValueErrorData={_='secureValueErrorData', type=SecureValueType, data_hash='bytes', field='string', text='string'}