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

1.1 KiB

title description image
encryptedFile Encrypted file https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: encryptedFile

Back to constructors index

Encrypted file

Attributes:

Name Type Required Description
id long Yes ID
access_hash long Yes Access hash
size int Yes Size
dc_id int Yes DC ID
key_fingerprint int Yes Key fingerprint

Type: EncryptedFile

Example:

$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int];

PWRTelegram json-encoded version:

{"_": "encryptedFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "key_fingerprint": int}

Or, if you're into Lua:

encryptedFile={_='encryptedFile', id=long, access_hash=long, size=int, dc_id=int, key_fingerprint=int}