copyWith method

SetSupergroupUsername copyWith({
  1. int? supergroupId,
  2. String? username,
})

Implementation

SetSupergroupUsername copyWith({
  int? supergroupId,
  String? username,
}) => SetSupergroupUsername(
  supergroupId: supergroupId ?? this.supergroupId,
  username: username ?? this.username,
);