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

1017 B

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
peer NotifyPeer Yes Peer
notify_settings PeerNotifySettings Yes Notify settings

Type: Update

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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