MadelineProtoDocs/old_docs/API_docs_v97/constructors/cdnConfig.md
2019-05-03 21:10:09 +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}}