MadelineProtoDocs/old_docs/API_docs_v102/constructors/cdnConfig.md
2019-06-24 15:45:02 +02:00

680 B

title description image
cdnConfig CDN configuration https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: cdnConfig

Back to constructors index

CDN configuration

Attributes:

Name Type Required Description
public_keys Array of CdnPublicKey Yes Public keys

Type: CdnConfig

Example:

$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]];

Or, if you're into Lua:

cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}