copyWith method

GetChatInviteLinkMembers copyWith({
  1. int? chatId,
  2. String? inviteLink,
  3. bool? onlyWithExpiredSubscription,
  4. ChatInviteLinkMember? offsetMember,
  5. int? limit,
})

Implementation

GetChatInviteLinkMembers copyWith({
  int? chatId,
  String? inviteLink,
  bool? onlyWithExpiredSubscription,
  ChatInviteLinkMember? offsetMember,
  int? limit,
}) => GetChatInviteLinkMembers(
  chatId: chatId ?? this.chatId,
  inviteLink: inviteLink ?? this.inviteLink,
  onlyWithExpiredSubscription:
      onlyWithExpiredSubscription ?? this.onlyWithExpiredSubscription,
  offsetMember: offsetMember ?? this.offsetMember,
  limit: limit ?? this.limit,
);