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

929 B

title description image
cdnFileHash CDN file hash https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: cdnFileHash

Back to constructors index

CDN file hash

Attributes:

Name Type Required Description
offset int Yes Offset
limit int Yes Limit
hash bytes Yes Hash

Type: CdnFileHash

Example:

$cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "cdnFileHash", "offset": int, "limit": int, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

cdnFileHash={_='cdnFileHash', offset=int, limit=int, hash='bytes'}