MadelineProtoDocs/old_docs/API_docs_v103/constructors/cdnConfig.md
2019-08-15 20:25:16 +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}}