MadelineProtoDocs/old_docs/API_docs_v40/constructors/updateNotifySettings.md

862 B

title description image
updateNotifySettings Update notify settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateNotifySettings

Back to constructors index

Update notify settings

Attributes:

Name Type Required Description
peer NotifyPeer Yes Peer
notify_settings PeerNotifySettings Optional Notify settings

Type: Update

Example:

$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings];

Or, if you're into Lua:

updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings}