mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
25 lines
591 B
Markdown
25 lines
591 B
Markdown
|
---
|
||
|
title: "updateConfig"
|
||
|
description: "The server-side configuration has changed; the client should re-fetch the config using help.getConfig"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: updateConfig
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
The server-side configuration has changed; the client should re-fetch the config using [help.getConfig](../methods/help.getConfig.html)
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Update](/API_docs/types/Update.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$updateConfig = ['_' => 'updateConfig'];
|
||
|
```
|