copyWith method

ToggleSupergroupJoinByRequest copyWith({
  1. int? supergroupId,
  2. bool? joinByRequest,
})

Implementation

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