mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 17:46:57 +01:00
44 lines
816 B
Markdown
44 lines
816 B
Markdown
---
|
|
title: notificationSettingsForPrivateChats
|
|
description: Notification settings applied to all private chats
|
|
---
|
|
## Constructor: notificationSettingsForPrivateChats
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Notification settings applied to all private chats
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|
|
|
|
|
|
### Type: [NotificationSettingsScope](../types/NotificationSettingsScope.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$notificationSettingsForPrivateChats = ['_' => 'notificationSettingsForPrivateChats'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "notificationSettingsForPrivateChats"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
notificationSettingsForPrivateChats={_='notificationSettingsForPrivateChats'}
|
|
|
|
```
|
|
|
|
|