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

838 B

title description nav_exclude image
cdnPublicKey Public key to use only during handshakes to CDN DCs. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: cdnPublicKey

Back to constructors index

Public key to use only during handshakes to CDN DCs.

Attributes:

Name Type Required Description
dc_id int Yes CDN DC ID
public_key string Yes RSA public key

Type: CdnPublicKey

Example:

$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'];