1.0 KiB
1.0 KiB
title | description | image |
---|---|---|
peerNotifySettings | Notification settings. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: peerNotifySettings
Notification settings.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
show_previews | Bool | Optional | Show previews? |
silent | Bool | Optional | Silent? |
mute_until | int | Yes | Mute all notifications until this date |
sound | string | Yes | Audio file name for notifications |
Type: PeerNotifySettings
Example:
$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => 'string'];
Or, if you're into Lua:
peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound='string'}