InputPeerNotifySettings

class pyrogram.raw.base.InputPeerNotifySettings

Notifications settings.

Constructors:

This base type has 1 constructor available.

InputPeerNotifySettings

Notification settings.

TL Schema

inputPeerNotifySettings#cacb6ae2
flags:#
show_previews:flags.0?Bool
silent:flags.1?Bool
mute_until:flags.2?int
sound:flags.3?NotificationSound
stories_muted:flags.6?Bool
stories_hide_sender:flags.7?Bool
stories_sound:flags.8?NotificationSound

= InputPeerNotifySettings

Parameter Tree

InputPeerNotifySettings
├── show_previews → Bool (optional)
├── silent → Bool (optional)
├── mute_until → int (optional)
├── sound → NotificationSound (optional)
│ ├── NotificationSoundNone
│ │ ├── title → string
│ │ └── data → string
│ └── id → long
├── stories_muted → Bool (optional)
├── stories_hide_sender → Bool (optional)
└── stories_sound → NotificationSound (optional)
│ ├── title → string
│ └── data → string
└── id → long

Example

InputPeerNotifySettings(
    show_previews=None,
    silent=None,
    mute_until=0,
    sound=NotificationSoundDefault(),
    stories_muted=None,
    stories_hide_sender=None,
    stories_sound=NotificationSoundDefault(),
)