telegram api constructor · layer 229 · #99622c0c

peerNotifySettings

Notification settings.

definition

peerNotifySettings#99622c0c flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int ios_sound:flags.3?NotificationSound android_sound:flags.4?NotificationSound other_sound:flags.5?NotificationSound stories_muted:flags.6?Bool stories_hide_sender:flags.7?Bool stories_ios_sound:flags.8?NotificationSound stories_android_sound:flags.9?NotificationSound stories_other_sound:flags.10?NotificationSound = PeerNotifySettings;

parameters

nametypedescription
flags#Flags, see TL conditional fields
show_previewsflags.0?Bool(Ternary value) If set, indicates whether or not to display previews of messages in notifications; otherwise the default behavior should be used.
silentflags.1?Bool(Ternary value) If set, indicates whether to mute or unmute the peer; otherwise the default behavior should be used.
mute_untilflags.2?intMute all notifications until this date
ios_soundflags.3?NotificationSoundNotification sound for the official iOS application
android_soundflags.4?NotificationSoundNotification sound for the official android application
other_soundflags.5?NotificationSoundNotification sound for other applications
stories_mutedflags.6?BoolWhether story notifications should be disabled.
stories_hide_senderflags.7?BoolWhether the sender name should be displayed in story notifications.
stories_ios_soundflags.8?NotificationSoundSound for story notifications on the official iOS application
stories_android_soundflags.9?NotificationSoundSound for story notifications on the official Android application
stories_other_soundflags.10?NotificationSoundSound for story notifications on other applications

type

PeerNotifySettings

history

present in layers 2–229 · constructor id changed 4×

idlayers
#8d5e11ee2–46
#9acda4c062–78
#af509d2079–139
#a83b0426140–159
#99622c0c160–229