copyWith method

ToggleSupergroupIsAllHistoryAvailable copyWith({
  1. int? supergroupId,
  2. bool? isAllHistoryAvailable,
})

Implementation

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