MadelineProtoDocs/old_docs/API_docs_v103/constructors/updatePeerSettings.md
2019-08-15 20:25:16 +02:00

766 B

title description image
updatePeerSettings Peer settings updated https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updatePeerSettings

Back to constructors index

Peer settings updated

Attributes:

Name Type Required Description
peer Peer Yes Peer
settings PeerSettings Yes Settings

Type: Update

Example:

$updatePeerSettings = ['_' => 'updatePeerSettings', 'peer' => Peer, 'settings' => PeerSettings];

Or, if you're into Lua:

updatePeerSettings={_='updatePeerSettings', peer=Peer, settings=PeerSettings}