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 |
---|---|---|---|
mute_until | int | Yes | Date until which all notifications shall be switched off |
sound | string | Yes | Name of an audio file for notification |
show_previews | Bool | Yes | If the text of the message shall be displayed in notification |
events_mask | int | Yes |
Type: InputPeerNotifySettings
Example:
$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int];
Or, if you're into Lua:
inputPeerNotifySettings={_='inputPeerNotifySettings', mute_until=int, sound='string', show_previews=Bool, events_mask=int}