MadelineProtoDocs/old_docs/API_docs_v21/constructors/inputPeerNotifySettings.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image
inputPeerNotifySettings Notification settings. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPeerNotifySettings

Back to constructors index

Notification settings.

Attributes:

Name Type Required Description
show_previews Bool Optional
silent Bool Optional
mute_until int Yes Date until which all notifications shall be switched off
sound string Yes 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'}