public function recordReadActivity(?bool $every = null, ?bool $update = null): self 	{ 		$user = auth()->user();  		if (!$user || !$this->shouldRecordUserActivity(UserActivity::TYPE_READ)) { 			return $this; 		}  		$every ??= $this->recordEveryReadActivity(); 		$update ??= $this->updateReadActivity();  		if ($every) { 			$this->activities()->create([ 				'user_id' => $user->id, 				'type' => UserActivity::TYPE_READ, 				'ip_address' => request()->ip() ?? null, 			]); 		} elseif ($update) { 			$this->activities()->updateOrCreate([ 				'user_id' => $user->id, 				'type' => UserActivity::TYPE_READ, 			], [ 				'ip_address' => request()->ip() ?? null, 			]); 		} else { 			$this->activities()->firstOrCreate([ 				'user_id' => $user->id, 				'type' => UserActivity::TYPE_READ, 			], [ 				'ip_address' => request()->ip() ?? null, 			]); 		}  		return $this; 	}