💬 گفتگوهای اخیر
@forelse ($activeChats as $chat)
{{ $chat->first_name }} {{ $chat->last_name }}
{{ $chat->last_message_time ? \Carbon\Carbon::parse($chat->last_message_time)->diffForHumans() : '' }}
@if($chat->username)
@ {{ $chat->username }}
@else
{{ $chat->chat_id }}
@endif
@if($chat->last_message_role === 'user')
@endif
{{ $chat->last_message }}
@emptyهیچ گفتگویی یافت نشد.
@endforelse
@if ($selectedChatId && $selectedUser)
شناسه چت: {{ $selectedChatId }}
@if($selectedUser->username) | @ {{ $selectedUser->username }} @endif
| آخرین فعالیت: {{ $selectedUser->last_activity ? \Carbon\Carbon::parse($selectedUser->last_activity)->diffForHumans() : 'نامشخص' }}
{{ $selectedUser->first_name }} {{ $selectedUser->last_name }}
@if($selectedUser->last_activity && \Carbon\Carbon::parse($selectedUser->last_activity)->gt(now()->subMinutes(5))) 🟢 آنلاین در ربات @else ⚫ آفلاین @endif
@foreach ($chatHistory as $msg)
@if($msg->role === 'user')
@endif
@if($msg->role === 'assistant')
@endif
@endforeach
@if($msg->message_type === 'text')
@if($msg->message_content)
{{ $msg->created_at }}
{!! $msg->formatted_content !!}
@elseif($msg->message_type === 'photo'){!! $msg->formatted_content !!}
@endif @endif
@php
$cannedList = json_decode($botifySettings['botify_canned_responses'] ?? '[]', true) ?? [];
@endphp
@if(count($cannedList) > 0)
@else
💬 پاسخهای آماده سریع:
@foreach($cannedList as $idx => $cr)
@endforeach
@endif
💬
@endif
یک گفتگو را برای مشاهده و پاسخ انتخاب کنید.
از لیست گفتگوهای سمت راست گفتگو با کاربران را مدیریت نمایید.