MadelineProtoDocs/old_docs/API_docs_v23/constructors/peerNotifySettings.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

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];

PWRTelegram json-encoded version:

{"_": "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}