mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 17:55:35 +01:00
31 lines
774 B
Markdown
31 lines
774 B
Markdown
---
|
|
title: "updatePeerSettings"
|
|
description: "Settings of a certain peer have changed"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: updatePeerSettings
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Settings of a certain peer have changed
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|peer|[long](/API_docs/types/long.html) | Yes|The peer|
|
|
|settings|[PeerSettings](/API_docs/types/PeerSettings.html) | Yes|Associated peer settings|
|
|
|
|
|
|
|
|
### Type: [Update](/API_docs/types/Update.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$updatePeerSettings = ['_' => 'updatePeerSettings', 'peer' => long, 'settings' => PeerSettings];
|
|
```
|