mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
31 lines
738 B
Markdown
31 lines
738 B
Markdown
|
---
|
||
|
title: "upload.cdnFile"
|
||
|
description: "Represent a chunk of a CDN file."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
redirect_from: /API_docs/constructors/upload_cdnFile.html
|
||
|
---
|
||
|
# Constructor: upload.cdnFile
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Represent a chunk of a [CDN](https://core.telegram.org/cdn) file.
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|bytes|[bytes](/API_docs/types/bytes.html) | Yes|The data|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [upload.CdnFile](/API_docs/types/upload.CdnFile.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes'];
|
||
|
```
|