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

902 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 Yes 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}