MadelineProtoDocs/old_docs/API_docs_v21/constructors/updateNotifySettings.md
2020-06-16 17:50:25 +02:00

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}