ChatNotificationSettings constructor

const ChatNotificationSettings({
  1. required bool useDefaultMuteFor,
  2. required int muteFor,
  3. required bool useDefaultSound,
  4. required String sound,
  5. required bool useDefaultShowPreview,
  6. required bool showPreview,
  7. required bool useDefaultDisablePinnedMessageNotifications,
  8. required bool disablePinnedMessageNotifications,
  9. required bool useDefaultDisableMentionNotifications,
  10. 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,
});