copyWith method
ChatInviteLinkInfo
copyWith({
- int? chatId,
- int? accessibleFor,
- InviteLinkChatType? type,
- String? title,
- ChatPhotoInfo? photo,
- int? accentColorId,
- String? description,
- int? memberCount,
- List<
int> ? memberUserIds, - ChatInviteLinkSubscriptionInfo? subscriptionInfo,
- bool? createsJoinRequest,
- bool? isPublic,
- VerificationStatus? verificationStatus,
Implementation
ChatInviteLinkInfo copyWith({
int? chatId,
int? accessibleFor,
InviteLinkChatType? type,
String? title,
ChatPhotoInfo? photo,
int? accentColorId,
String? description,
int? memberCount,
List<int>? memberUserIds,
ChatInviteLinkSubscriptionInfo? subscriptionInfo,
bool? createsJoinRequest,
bool? isPublic,
VerificationStatus? verificationStatus,
}) => ChatInviteLinkInfo(
chatId: chatId ?? this.chatId,
accessibleFor: accessibleFor ?? this.accessibleFor,
type: type ?? this.type,
title: title ?? this.title,
photo: photo ?? this.photo,
accentColorId: accentColorId ?? this.accentColorId,
description: description ?? this.description,
memberCount: memberCount ?? this.memberCount,
memberUserIds: memberUserIds ?? this.memberUserIds,
subscriptionInfo: subscriptionInfo ?? this.subscriptionInfo,
createsJoinRequest: createsJoinRequest ?? this.createsJoinRequest,
isPublic: isPublic ?? this.isPublic,
verificationStatus: verificationStatus ?? this.verificationStatus,
);