1.0 KiB
1.0 KiB
title | description | image |
---|---|---|
updateNotifySettings | Update notify settings | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateNotifySettings
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}