MadelineProtoDocs/old_docs/API_docs_v41/constructors/updatePeerSettings.md
2020-06-16 17:50:25 +02: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}