Skip to main content

inputPeerNotifySettings

Notification settings.

type tg.InputPeerNotifySettings struct { /* ... */ }

Fields​

NameTypeRequiredDescription
ShowPreviewsbool—If the text of the message shall be displayed in notification
Silentbool—Peer was muted?
MuteUntilint—Date until which all notifications shall be switched off
SoundNotificationSoundClass—Identifier of an audio file to play for notifications.
StoriesMutedbool—Whether story notifications should be disabled.
StoriesHideSenderbool—Whether the sender name should be displayed in story notifications.
StoriesSoundNotificationSoundClass—Identifier of an audio file to play for story notifications.

References​