MadelineProtoDocs/old_docs/API_docs_v70/constructors/cdnFileHash.md
2018-04-19 17:56:40 +00:00

892 B

title description image
cdnFileHash cdnFileHash attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: cdnFileHash

Back to constructors index

Attributes:

Name Type Required
offset int Yes
limit int Yes
hash bytes Yes

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