mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 20:56:54 +01:00
44 lines
937 B
Markdown
44 lines
937 B
Markdown
---
|
|
title: notificationSettingsForGroupChats
|
|
description: Notification settings applied to all group and broadcast channel chats (supergroup channels have no common settings)
|
|
---
|
|
## Constructor: notificationSettingsForGroupChats
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Notification settings applied to all group and broadcast channel chats (supergroup channels have no common settings)
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|
|
|
|
|
|
### Type: [NotificationSettingsScope](../types/NotificationSettingsScope.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$notificationSettingsForGroupChats = ['_' => 'notificationSettingsForGroupChats', ];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_":"notificationSettingsForGroupChats"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
notificationSettingsForGroupChats={_='notificationSettingsForGroupChats', }
|
|
|
|
```
|
|
|
|
|