Skip to main content

peerNotifySettings

Notification settings.

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

Fields​

NameTypeRequiredDescription
ShowPreviewsbool—(Ternary value) If set, indicates whether or not to display previews of messages in notifications; otherwise the default behavior should be used.
Silentbool—(Ternary value) If set, indicates whether to mute or unmute the peer; otherwise the default behavior should be used.
MuteUntilint—Mute all notifications until this date
IosSoundNotificationSoundClass—Notification sound for the official iOS application
AndroidSoundNotificationSoundClass—Notification sound for the official android application
OtherSoundNotificationSoundClass—Notification sound for other applications
StoriesMutedbool—Whether story notifications should be disabled.
StoriesHideSenderbool—Whether the sender name should be displayed in story notifications.
StoriesIosSoundNotificationSoundClass—Sound for story notifications on the official iOS application
StoriesAndroidSoundNotificationSoundClass—Sound for story notifications on the official Android application
StoriesOtherSoundNotificationSoundClass—Sound for story notifications on other applications

Returned by​

References​