@extends('layouts.app') @section('title', 'Conversations – Instagram Bot') @section('content')

← Instagram Bot

Conversations

All Instagram DM conversations (by Instagram-scoped user ID). Click to view the message thread and internal notes.

@if (session('success'))
{{ session('success') }}
@endif
@if ($conversations->isEmpty())

No conversations yet. They appear here when someone sends a DM to your Instagram account.

@else @foreach ($conversations as $c) @endforeach
Instagram user ID Username State Last message
{{ $c->ig_user_id }} @if ($c->ig_profile_username) {{ '@' . ltrim($c->ig_profile_username, '@') }} @elseif (trim((string) ($c->ig_profile_name ?? '')) !== '') {{ trim((string) $c->ig_profile_name) }} @else — @endif {{ $c->state }} {{ $c->last_message_at ? $c->last_message_at->diffForHumans() : '—' }} View
{{ $conversations->links() }}
@endif
@push('styles') @endpush @endsection