MadelineProtoDocs/docs/API_docs/constructors/cdnConfig.md
2024-05-01 14:53:46 +02:00

809 B

title description nav_exclude image
cdnConfig Configuration for CDN file downloads. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: cdnConfig

Back to constructors index

Configuration for CDN file downloads.

Attributes:

Name Type Required Description
public_keys Array of CdnPublicKey Yes Vector of public keys to use only during handshakes to CDN DCs.

Type: CdnConfig

Example:

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