MadelineProtoDocs/docs/API_docs/constructors/secureValueErrorData.md

1.1 KiB

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

Constructor: secureValueErrorData

Back to constructors index

Attributes:

Name Type Required
type SecureValueType Yes
data_hash bytes Yes
field string Yes
text string Yes

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