telegram api constructor · layer 229 · #cacb6ae2

inputPeerNotifySettings

Notification settings.

definition

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;

parameters

nametypedescription
flags#Flags, see TL conditional fields
show_previewsflags.0?BoolIf the text of the message shall be displayed in notification
silentflags.1?BoolPeer was muted?
mute_untilflags.2?intDate until which all notifications shall be switched off
soundflags.3?NotificationSoundIdentifier of an audio file to play for notifications.
stories_mutedflags.6?BoolWhether story notifications should be disabled.
stories_hide_senderflags.7?BoolWhether the sender name should be displayed in story notifications.
stories_soundflags.8?NotificationSoundIdentifier of an audio file to play for story notifications.

type

InputPeerNotifySettings

history

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

idlayers
#46a2ce982–46
#38935eb262–78
#9c3d198e79–139
#df1f002b140–159
#cacb6ae2160–229