MadelineProto/old_docs/API_docs_v68/constructors/cdnConfig.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

673 B

title description
cdnConfig cdnConfig attributes, type and example

Constructor: cdnConfig

Back to constructors index

Attributes:

Name Type Required
public_keys Array of CdnPublicKey Yes

Type: CdnConfig

Example:

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

PWRTelegram json-encoded version:

{"_": "cdnConfig", "public_keys": [CdnPublicKey]}

Or, if you're into Lua:

cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}