# Constructor: encryptedFile

Back to constructors index

Encrypted file.

# Attributes:

Name Type Required Description
id long Yes File ID
access_hash long Yes Checking sum depending on user ID
size int Yes File size in bytes
dc_id int Yes Number of data centre
key_fingerprint int Yes 32-bit fingerprint of key used for file encryption

# Type: EncryptedFile

# Example:

$encryptedFile = ['_' => '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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.