MadelineProtoDocs/old_docs/API_docs_v109/constructors/updateNotifySettings.md
2020-03-06 12:24:14 +01: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}