MadelineProtoDocs/old_docs/API_docs_v105/constructors/cdnConfig.md
2019-09-13 17:13:55 +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}}