1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
inputPeerNotifySettings | Notification settings. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputPeerNotifySettings
Notification settings.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
show_previews | Bool | Optional | If the text of the message shall be displayed in notification |
silent | Bool | Optional | Peer was muted? |
mute_until | int | Optional | Date until which all notifications shall be switched off |
sound | string | Optional | Name of an audio file for notification |
Type: InputPeerNotifySettings
Example:
$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string'];
Or, if you're into Lua:
inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'}