MadelineProto/old_docs/API_docs_v51/constructors/peerNotifySettings.md

696 B

title description
peerNotifySettings peerNotifySettings attributes, type and example

Constructor: peerNotifySettings

Back to constructors index

Attributes:

Name Type Required
show_previews Bool Optional
silent Bool Optional
mute_until int Required
sound string Required

Type: PeerNotifySettings

Example:

$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ];