MadelineProtoDocs/old_docs/API_docs_v102/constructors/updatePeerSettings.md
2019-12-27 17:48:04 +01:00

822 B

title description image
updatePeerSettings Settings of a certain peer have changed https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updatePeerSettings

Back to constructors index

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}