4baac3178e
Add PHP, Lua language tag to Code area
770 B
770 B
title | description | image |
---|---|---|
upload.cdnFile | upload_cdnFile attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: upload.cdnFile
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'}