ChatNotificationSettings
Contains information about notification settings for a chat.
This is an alias for the ChatNotificationSettingsUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "chatNotificationSettings" | |
useDefaultMuteFor | boolean | If true, mute_for is ignored and the value for the relevant type of chat is used instead |
muteFor | number | Time left before notifications will be unmuted, in seconds |
useDefaultSound | boolean | If true, sound is ignored and the value for the relevant type of chat is used instead |
sound | string | The name of an audio file to be used for notification sounds; only applies to iOS applications |
useDefaultShowPreview | boolean | If true, show_preview is ignored and the value for the relevant type of chat is used instead |
showPreview | boolean | True, if message content must be displayed in notifications |
useDefaultDisablePinnedMessageNotifications | boolean | If true, disable_pinned_message_notifications is ignored and the value for the relevant type of chat is used instead |
disablePinnedMessageNotifications | boolean | If true, notifications for incoming pinned messages will be created as for an ordinary unread message |
useDefaultDisableMentionNotifications | boolean | If true, disable_mention_notifications is ignored and the value for the relevant type of chat is used instead |
disableMentionNotifications | boolean | If true, notifications for messages with mentions will be created as for an ordinary unread message |