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 |
---|---|---|---|
mute_until | int | Yes | Mute all notifications until this date |
sound | string | Yes | Audio file name for notifications |
show_previews | Bool | Yes | Display text in notifications |
events_mask | int | Yes | Events mask |
Type: PeerNotifySettings
Example:
$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int];
Or, if you're into Lua:
peerNotifySettings={_='peerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int}