MadelineProtoDocs/old_docs/API_docs_v102/constructors/upload.cdnFile.md
2019-12-27 18:46:25 +01:00

801 B

title description image redirect_from
upload.cdnFile Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/upload_cdnFile.html

Constructor: upload.cdnFile

Back to constructors index

Represent a chunk of a CDN file.

Attributes:

Name Type Required Description
bytes bytes Yes The data

Type: upload.CdnFile

Example:

$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes'];

Or, if you're into Lua:

upload.cdnFile={_='upload.cdnFile', bytes='bytes'}