Link Search Menu Expand Document

Constructor: encryptedFile

Back to constructors index

Encrypted file.

Attributes:

NameTypeRequiredDescription
idlongYesFile ID
access_hashlongYesChecking sum depending on user ID
sizelongYesFile size in bytes
dc_idintYesNumber of data center
key_fingerprintintYes32-bit fingerprint of key used for file encryption

Type: EncryptedFile

Example:

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