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

1.2 KiB

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

Constructor: inputPeerNotifySettings

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: InputPeerNotifySettings

Example:

$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => 'string', 'show_previews' => Bool, 'events_mask' => int];

PWRTelegram json-encoded version:

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