MadelineProtoDocs/old_docs/API_docs_v109/constructors/updatePeerSettings.md
2020-03-06 12:24:14 +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}