InputPeerNotifySettings
- class pyrogram.raw.types.InputPeerNotifySettings
Notification settings.
Constructor of
InputPeerNotifySettings.- Details:
Layer:
223ID:
CACB6AE2
- Parameters:
show_previews (
bool, optional) – If the text of the message shall be displayed in notificationsilent (
bool, optional) – Peer was muted?mute_until (
int32-bit, optional) – Date until which all notifications shall be switched offsound (
NotificationSound, optional) – Identifier of an audio file to play for notifications.stories_muted (
bool, optional) – Whether story notifications should be disabled.stories_hide_sender (
bool, optional) – Whether the sender name should be displayed in story notifications.stories_sound (
NotificationSound, optional) – Identifier of an audio file to play for story notifications.
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)│ ├──
NotificationSoundDefault│ ├──
NotificationSoundNone│ ├──
NotificationSoundLocal│ │ ├── title →
string│ │ └── data →
string│ └── id →
long├── stories_muted →
Bool (optional)├── stories_hide_sender →
Bool (optional)└── stories_sound →
NotificationSound (optional)│ ├── title →
string│ └── data →
string└── id →
longExample
InputPeerNotifySettings(
)