1009 B
1009 B
title | description | image |
---|---|---|
secureData | secureData attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureData
Attributes:
Name | Type | Required |
---|---|---|
data | bytes | Yes |
data_hash | bytes | Yes |
secret | bytes | Yes |
Type: SecureData
Example:
$secureData = ['_' => 'secureData', 'data' => 'bytes', 'data_hash' => 'bytes', 'secret' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "secureData", "data": {"_": "bytes", "bytes":"base64 encoded bytes"}, "data_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
secureData={_='secureData', data='bytes', data_hash='bytes', secret='bytes'}