MadelineProtoDocs/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md

46 lines
1.0 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: inputPeerNotifySettings
description: inputPeerNotifySettings attributes, type and example
---
## Constructor: inputPeerNotifySettings
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|mute\_until|[int](../types/int.md) | Yes|
|sound|[string](../types/string.md) | Yes|
2018-04-01 13:24:46 +02:00
|show\_previews|[Bool](../types/Bool.md) | Yes|
|events\_mask|[int](../types/int.md) | Yes|
2018-04-01 13:19:25 +02:00
### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md)
### Example:
```
2018-04-01 13:24:46 +02:00
$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int];
2018-04-01 13:19:25 +02:00
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2018-04-01 13:24:46 +02:00
{"_": "inputPeerNotifySettings", "mute_until": int, "sound": "string", "show_previews": Bool, "events_mask": int}
2018-04-01 13:19:25 +02:00
```
Or, if you're into Lua:
```
2018-04-01 13:24:46 +02:00
inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int}
2018-04-01 13:19:25 +02:00
```