MadelineProtoDocs/old_docs/API_docs_v30/constructors/upload.cdnFile.md
2020-06-16 17:50:25 +02: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'}