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.
MuteUntilintMute all notifications until this date
IosSoundNotificationSoundClassNotification sound for the official iOS application
AndroidSoundNotificationSoundClassNotification sound for the official android application
OtherSoundNotificationSoundClassNotification sound for other applications
StoriesMutedboolWhether story notifications should be disabled.
StoriesHideSenderboolWhether the sender name should be displayed in story notifications.
StoriesIosSoundNotificationSoundClassSound for story notifications on the official iOS application
StoriesAndroidSoundNotificationSoundClassSound for story notifications on the official Android application
StoriesOtherSoundNotificationSoundClassSound for story notifications on other applications

Returned by

References