mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:38:59 +01:00
673 B
673 B
title | description |
---|---|
cdnConfig | cdnConfig attributes, type and example |
Constructor: cdnConfig
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}}