MadelineProtoDocs/old_docs/API_docs_v23/constructors/peerNotifySettings.md

980 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
mute_until int Yes Mute until
sound string Yes Sound
show_previews Bool Yes Show previews?
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}