2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: setNotificationSettings
|
|
|
|
description: Changes notification settings for a given scope
|
|
|
|
---
|
|
|
|
## Method: setNotificationSettings
|
|
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
|
|
|
2017-06-06 18:39:21 +02:00
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Changes notification settings for a given scope
|
|
|
|
|
|
|
|
### Params:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|scope|[NotificationSettingsScope](../types/NotificationSettingsScope.md) | Yes|Scope to change notification settings|
|
2017-09-29 15:50:59 +02:00
|
|
|
|notification\_settings|[notificationSettings](../constructors/notificationSettings.md) | Yes|New notification settings for given scope|
|
2017-03-11 19:54:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|
|
|