Layer 227
InputPeerNotifySettingsObj
Notification settings.
constructor
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 |
|---|---|---|
| ShowPreviews | flags .0? Bool | If the text of the message shall be displayed in notification |
| Silent | flags .1? Bool | Peer was muted? |
| MuteUntil | flags .2? int | Date until which all notifications shall be switched off |
| Sound | flags .3? NotificationSound | Identifier of an audio file to play for notifications. |
| StoriesMuted | flags .6? Bool | Whether story notifications should be disabled. |
| StoriesHideSender | flags .7? Bool | Whether the sender name should be displayed in story notifications. |
| StoriesSound | flags .8? NotificationSound | Identifier of an audio file to play for story notifications. |
Returns
InputPeerNotifySettingsGogram Example
// Creating InputPeerNotifySettingsObj constructor obj := &tg.InputPeerNotifySettingsObj{ ShowPreviews: nil, Silent: nil, MuteUntil: nil, Sound: nil, StoriesMuted: nil, StoriesHideSender: nil, // ... more required fields }