mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 11:27:52 +01:00
36 lines
555 B
Markdown
36 lines
555 B
Markdown
|
---
|
||
|
title: cdnConfig
|
||
|
description: cdnConfig attributes, type and example
|
||
|
---
|
||
|
## Constructor: cdnConfig
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [CdnConfig](../types/CdnConfig.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey], ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|