MadelineProtoDocs/docs/API_docs/constructors/updatePeerSettings.md
2024-05-01 14:53:46 +02:00

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];
```