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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
show_previews | Bool | If the text of the message shall be displayed in notification |
silent | Bool | Peer was muted? |
mute_until | int | Date until which all notifications shall be switched off |
sound | NotificationSound | Identifier of an audio file to play for notifications. |
stories_muted | Bool | Whether story notifications should be disabled. |
stories_hide_sender | Bool | Whether the sender name should be displayed in story notifications. |
stories_sound | NotificationSound | Identifier of an audio file to play for story notifications. |
type
history
present in layers 2–229 · constructor id changed 4×
| id | layers |
|---|---|
| #46a2ce98 | 2–46 |
| #38935eb2 | 62–78 |
| #9c3d198e | 79–139 |
| #df1f002b | 140–159 |
| #cacb6ae2 | 160–229 |