You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use App\Http\Requests\UpdateApiConversationReadRequest;
use App\Models\Conversation;
use App\Models\User;
use Illuminate\Container\Attributes\CurrentUser;
use Illuminate\Http\Response;
final readonly class ConversationReadController
{
/**
* Pulls the conversation through a message, as the web does once the thread is scrolled to it. It only ever moves
* forward, and a conversation that hasn't started has nothing to pull.
*/
public function update(UpdateApiConversationReadRequest $request, #[CurrentUser] User $user, User $partner, UpdateConversationReadThrough $action): Response