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

894 B

title description image
fileHash File hash https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: fileHash

Back to constructors index

File hash

Attributes:

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

Type: FileHash

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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