MadelineProtoDocs/old_docs/API_docs_v109/constructors/updateNotifySettings.md

40 lines
902 B
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
title: updateNotifySettings
description: Changes in notification settings.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateNotifySettings
[Back to constructors index](index.md)
Changes in notification settings.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peer|[NotifyPeer](../types/NotifyPeer.md) | Yes|Nofication source|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|New notification settings|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings];
```
Or, if you're into Lua:
```lua
updateNotifySettings={_='updateNotifySettings', peer=NotifyPeer, notify_settings=PeerNotifySettings}
```