Airgram

Guides
/
/
Output types

ChatNotificationSettings

Contains information about notification settings for a chat.

This is an alias for the ChatNotificationSettingsUnion type.


NameTypeDescription
_"chatNotificationSettings"
useDefaultMuteForboolean If true, mute_for is ignored and the value for the relevant type of chat is used instead
muteFornumber Time left before notifications will be unmuted, in seconds
useDefaultSoundboolean If true, sound is ignored and the value for the relevant type of chat is used instead
soundstring The name of an audio file to be used for notification sounds; only applies to iOS applications
useDefaultShowPreviewboolean If true, show_preview is ignored and the value for the relevant type of chat is used instead
showPreviewboolean True, if message content must be displayed in notifications
useDefaultDisablePinnedMessageNotificationsboolean If true, disable_pinned_message_notifications is ignored and the value for the relevant type of chat is used instead
disablePinnedMessageNotificationsboolean If true, notifications for incoming pinned messages will be created as for an ordinary unread message
useDefaultDisableMentionNotificationsboolean If true, disable_mention_notifications is ignored and the value for the relevant type of chat is used instead
disableMentionNotificationsboolean If true, notifications for messages with mentions will be created as for an ordinary unread message