1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
secureValueErrorData | Secure value error data | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureValueErrorData
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'}