copyWith method
ChatInviteLinkInfo
copyWith(
{ - int? chatId,
- int? accessibleFor,
- ChatType? type,
- String? title,
- ChatPhotoInfo? photo,
- String? description,
- int? memberCount,
- List<int>? memberUserIds,
- bool? createsJoinRequest,
- bool? isPublic,
- int? clientId,
})
Implementation
ChatInviteLinkInfo copyWith({
int? chatId,
int? accessibleFor,
ChatType? type,
String? title,
ChatPhotoInfo? photo,
String? description,
int? memberCount,
List<int>? memberUserIds,
bool? createsJoinRequest,
bool? isPublic,
dynamic extra,
int? clientId,
}) => ChatInviteLinkInfo(
chatId: chatId ?? this.chatId,
accessibleFor: accessibleFor ?? this.accessibleFor,
type: type ?? this.type,
title: title ?? this.title,
photo: photo ?? this.photo,
description: description ?? this.description,
memberCount: memberCount ?? this.memberCount,
memberUserIds: memberUserIds ?? this.memberUserIds,
createsJoinRequest: createsJoinRequest ?? this.createsJoinRequest,
isPublic: isPublic ?? this.isPublic,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);