MadelineProtoDocs/docs/API_docs/constructors/encryptedFile.md
2024-05-01 14:53:46 +02:00

1008 B

title description nav_exclude image
encryptedFile Encrypted file. true 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 File ID
access_hash long Yes Checking sum depending on user ID
size long Yes File size in bytes
dc_id int Yes Number of data center
key_fingerprint int Yes 32-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];