copyWith method

ToggleSupergroupHasAggressiveAntiSpamEnabled copyWith({
  1. int? supergroupId,
  2. bool? hasAggressiveAntiSpamEnabled,
})

Implementation

ToggleSupergroupHasAggressiveAntiSpamEnabled copyWith({
  int? supergroupId,
  bool? hasAggressiveAntiSpamEnabled,
}) =>
    ToggleSupergroupHasAggressiveAntiSpamEnabled(
      supergroupId: supergroupId ?? this.supergroupId,
      hasAggressiveAntiSpamEnabled:
          hasAggressiveAntiSpamEnabled ?? this.hasAggressiveAntiSpamEnabled,
    );