1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 13:47:20 +01:00
MadelineProto/docs/API_docs/constructors/cdnFileHash.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

780 B

title description
cdnFileHash cdnFileHash attributes, type and example

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

Or, if you're into Lua:

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