MadelineProtoDocs/old_docs/API_docs_v46/constructors/updateNotifySettings.md

891 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
notify_peer NotifyPeer Yes Notify peer
notify_settings PeerNotifySettings Optional Notify settings

Type: Update

Example:

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

Or, if you're into Lua:

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