copyWith method
CreateNewSupergroupChat
copyWith({
- String? title,
- bool? isChannel,
- String? description,
- ChatLocation? location,
- bool? forImport,
Implementation
CreateNewSupergroupChat copyWith({
String? title,
bool? isChannel,
String? description,
ChatLocation? location,
bool? forImport,
}) => CreateNewSupergroupChat(
title: title ?? this.title,
isChannel: isChannel ?? this.isChannel,
description: description ?? this.description,
location: location ?? this.location,
forImport: forImport ?? this.forImport,
);