mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 03:07:20 +01:00
28 lines
692 B
Markdown
28 lines
692 B
Markdown
---
|
|
title: peerNotifySettings
|
|
description: peerNotifySettings attributes, type and example
|
|
---
|
|
## Constructor: peerNotifySettings
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|show\_previews|[Bool](../types/Bool.md) | Optional|
|
|
|silent|[Bool](../types/Bool.md) | Optional|
|
|
|mute\_until|[int](../types/int.md) | Required|
|
|
|sound|[string](../types/string.md) | Required|
|
|
|
|
|
|
|
|
### Type: [PeerNotifySettings](../types/PeerNotifySettings.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ];
|
|
``` |