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

743 B

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

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'}