@if($message->type == 1) {{--from client--}}
{{abbreviateStr($thread->contact->name)}}
{{$thread->contact->name}} {{$message->created_at->diffForHumans()}}
{{ $message->body }}
@else
{{date_diff(new DateTime($message->created_at),new DateTime(Illuminate\Support\Carbon::now()))->format('%d days, %h hours, %i minutes')}} ago
Pic
{{$message->body}}
@endif