MadelineProtoDocs/old_docs/API_docs_v91/constructors/upload_cdnFile.md
2019-03-08 13:49:23 +01:00

779 B

title description image
upload.cdnFile Cdn file https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: upload.cdnFile

Back to constructors index

Cdn file

Attributes:

Name Type Required Description
bytes bytes Yes Bytes

Type: upload_CdnFile

Example:

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

PWRTelegram json-encoded version:

{"_": "upload.cdnFile", "bytes": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

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