822 B
822 B
title | description | image |
---|---|---|
updatePeerSettings | Settings of a certain peer have changed | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updatePeerSettings
Settings of a certain peer have changed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | Peer | Yes | The peer |
settings | PeerSettings | Yes | Associated peer settings |
Type: Update
Example:
$updatePeerSettings = ['_' => 'updatePeerSettings', 'peer' => Peer, 'settings' => PeerSettings];
Or, if you're into Lua:
updatePeerSettings={_='updatePeerSettings', peer=Peer, settings=PeerSettings}