MadelineProtoDocs/old_docs/API_docs_v73/constructors/cdnPublicKey.md

718 B

title description image
cdnPublicKey Cdn public key https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: cdnPublicKey

Back to constructors index

Cdn public key

Attributes:

Name Type Required Description
dc_id int Yes DC ID
public_key string Yes Public key

Type: CdnPublicKey

Example:

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

Or, if you're into Lua:

cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key='string'}