mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 14:27:00 +01:00
24 lines
686 B
Markdown
24 lines
686 B
Markdown
---
|
|
title: setNotificationSettings
|
|
description: Changes notification settings for a given scope
|
|
---
|
|
## Method: setNotificationSettings
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Changes notification settings for a given scope
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|scope|[NotificationSettingsScope](../types/NotificationSettingsScope.md) | Yes|Scope to change notification settings|
|
|
|notification\_settings|[notificationSettings](../constructors/notificationSettings.md) | Yes|New notification settings for given scope|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|