MadelineProtoDocs/old_docs/API_docs_v14/constructors/updateNotifySettings.md

907 B

title description image
updateNotifySettings Changes in notification settings. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateNotifySettings

Back to constructors index

Changes in notification settings.

Attributes:

Name Type Required Description
peer NotifyPeer Yes Nofication source
notify_settings PeerNotifySettings Optional New notification settings

Type: Update

Example:

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

Or, if you're into Lua:

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