copyWith method

ChatEventLogFilters copyWith({
  1. bool? messageEdits,
  2. bool? messageDeletions,
  3. bool? messagePins,
  4. bool? memberJoins,
  5. bool? memberLeaves,
  6. bool? memberInvites,
  7. bool? memberPromotions,
  8. bool? memberRestrictions,
  9. bool? infoChanges,
  10. bool? settingChanges,
  11. bool? inviteLinkChanges,
  12. bool? videoChatChanges,
})

Implementation

ChatEventLogFilters copyWith({
  bool? messageEdits,
  bool? messageDeletions,
  bool? messagePins,
  bool? memberJoins,
  bool? memberLeaves,
  bool? memberInvites,
  bool? memberPromotions,
  bool? memberRestrictions,
  bool? infoChanges,
  bool? settingChanges,
  bool? inviteLinkChanges,
  bool? videoChatChanges,
}) => ChatEventLogFilters(
  messageEdits: messageEdits ?? this.messageEdits,
  messageDeletions: messageDeletions ?? this.messageDeletions,
  messagePins: messagePins ?? this.messagePins,
  memberJoins: memberJoins ?? this.memberJoins,
  memberLeaves: memberLeaves ?? this.memberLeaves,
  memberInvites: memberInvites ?? this.memberInvites,
  memberPromotions: memberPromotions ?? this.memberPromotions,
  memberRestrictions: memberRestrictions ?? this.memberRestrictions,
  infoChanges: infoChanges ?? this.infoChanges,
  settingChanges: settingChanges ?? this.settingChanges,
  inviteLinkChanges: inviteLinkChanges ?? this.inviteLinkChanges,
  videoChatChanges: videoChatChanges ?? this.videoChatChanges,
);