MadelineProto/docs/TD_docs/constructors/notificationSettingsForChat.md
2017-07-23 16:33:46 +02:00

45 lines
864 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}
```