MadelineProtoDocs/old_docs/API_docs_v91/constructors/peerNotifySettings.md

984 B

title description image
peerNotifySettings Peer notify settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: peerNotifySettings

Back to constructors index

Peer notify settings

Attributes:

Name Type Required Description
show_previews Bool Optional Show previews?
silent Bool Optional Silent?
mute_until int Optional Mute until
sound string Optional Sound

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'}