1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 18:46:56 +01:00
MadelineProto/docs/TD_docs/constructors/notificationSettingsForChat.md
2017-07-23 16:11:02 +02:00

45 lines
867 B
Markdown

---
title: notificationSettingsForChat
description: Notification settings applied to particular chat
---
## Constructor: notificationSettingsForChat
[Back to constructors index](index.md)
Notification settings applied to particular chat
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|chat\_id|[long](../types/long.md) | Yes|Chat identifier|
### Type: [NotificationSettingsScope](../types/NotificationSettingsScope.md)
### Example:
```
$notificationSettingsForChat = ['_' => 'notificationSettingsForChat', 'chat_id' => long, ];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"notificationSettingsForChat","chat_id":"long"}
```
Or, if you're into Lua:
```
notificationSettingsForChat={_='notificationSettingsForChat', chat_id=long, }
```