# encryptedFile

> Encrypted file.

[Back to constructors index](/API_docs/constructors/index.html)



Encrypted file.

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](/API_docs/types/long.html) | Yes|File ID|
|access\_hash|[long](/API_docs/types/long.html) | Yes|Checking sum depending on user ID|
|size|[long](/API_docs/types/long.html) | Yes|File size in bytes|
|dc\_id|[int](/API_docs/types/int.html) | Yes|Number of data center|
|key\_fingerprint|[int](/API_docs/types/int.html) | Yes|32-bit fingerprint of key used for file encryption|



### Type: [EncryptedFile](/API_docs/types/EncryptedFile.html)


### Example:

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