MadelineProtoDocs/docs/API_docs/constructors/cdnConfig.md

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}}