ChatNotificationSettings constructor
const
ChatNotificationSettings({
- required bool useDefaultMuteFor,
- required int muteFor,
- required bool useDefaultSound,
- required String sound,
- required bool useDefaultShowPreview,
- required bool showPreview,
- required bool useDefaultDisablePinnedMessageNotifications,
- required bool disablePinnedMessageNotifications,
- required bool useDefaultDisableMentionNotifications,
- required bool disableMentionNotifications,
Contains information about notification settings for a chat
Implementation
const ChatNotificationSettings({
required this.useDefaultMuteFor,
required this.muteFor,
required this.useDefaultSound,
required this.sound,
required this.useDefaultShowPreview,
required this.showPreview,
required this.useDefaultDisablePinnedMessageNotifications,
required this.disablePinnedMessageNotifications,
required this.useDefaultDisableMentionNotifications,
required this.disableMentionNotifications,
});