MadelineProtoDocs/old_docs/API_docs_v103/constructors/cdnPublicKey.md
2019-08-15 20:25:16 +02:00

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