MadelineProtoDocs/old_docs/API_docs_v105/constructors/updateNotifySettings.md

40 lines
902 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
title: updateNotifySettings
2019-12-27 17:48:04 +01:00
description: Changes in notification settings.
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateNotifySettings
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Changes in notification settings.
2019-09-13 17:13:55 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|peer|[NotifyPeer](../types/NotifyPeer.md) | Yes|Nofication source|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|New notification settings|
2019-09-13 17:13:55 +02:00
### 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}
```