MadelineProto/docs/TD_docs/constructors/notificationSettingsForChat.md

45 lines
864 B
Markdown
Raw Normal View History

---
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:
```
2017-07-23 16:33:46 +02:00
$notificationSettingsForChat = ['_' => 'notificationSettingsForChat', 'chat_id' => long];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "notificationSettingsForChat", "chat_id": long}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
notificationSettingsForChat={_='notificationSettingsForChat', chat_id=long}
```