MadelineProtoDocs/old_docs/API_docs_v71/constructors/upload_cdnFile.md
2018-04-19 17:56:40 +00:00

767 B

title description image
upload.cdnFile upload_cdnFile attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: upload.cdnFile

Back to constructors index

Attributes:

Name Type Required
bytes bytes Yes

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