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

939 B

title description image
secureValueHash Secure value hash https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: secureValueHash

Back to constructors index

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