MadelineProtoDocs/old_docs/API_docs_v68/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
show_previews Bool Optional Show previews?
silent Bool Optional Silent?
mute_until int Yes Mute until
sound string Yes Sound

Type: InputPeerNotifySettings

Example:

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

PWRTelegram json-encoded version:

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