copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetChatInviteLinks copyWith({
int? chatId,
int? creatorUserId,
bool? isRevoked,
int? offsetDate,
String? offsetInviteLink,
int? limit,
}) =>
GetChatInviteLinks(
chatId: chatId ?? this.chatId,
creatorUserId: creatorUserId ?? this.creatorUserId,
isRevoked: isRevoked ?? this.isRevoked,
offsetDate: offsetDate ?? this.offsetDate,
offsetInviteLink: offsetInviteLink ?? this.offsetInviteLink,
limit: limit ?? this.limit,
);