939 B
939 B
title | description | image |
---|---|---|
secureValueHash | Secure value hash | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureValueHash
Secure value hash
Attributes:
Name | Type | Required | Description |
---|---|---|---|
type | SecureValueType | Yes | Type |
hash | bytes | Yes | Hash |
Type: SecureValueHash
Example:
$secureValueHash = ['_' => 'secureValueHash', 'type' => SecureValueType, 'hash' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "secureValueHash", "type": SecureValueType, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
secureValueHash={_='secureValueHash', type=SecureValueType, hash='bytes'}