MadelineProtoDocs/old_docs/API_docs_v51/constructors/updateNotifySettings.md
2019-12-27 17:48:04 +01: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}