mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 04:36:57 +01:00
24 lines
679 B
Markdown
24 lines
679 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](../types/notificationSettings.md) | Yes|New notification settings for given scope|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|