MadelineProtoDocs/old_docs/API_docs_v46/constructors/updateNotifySettings.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

title description image
updateNotifySettings Update notify settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateNotifySettings

Back to constructors index

Update notify settings

Attributes:

Name Type Required Description
notify_peer NotifyPeer Yes Notify peer
notify_settings PeerNotifySettings Optional Notify settings

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateNotifySettings", "notify_peer": NotifyPeer, "notify_settings": PeerNotifySettings}

Or, if you're into Lua:

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