@if ($attachment)
@if( in_array($attachment->extension(), ['png','jpg','jpeg','gif']) ) @endif @if( in_array($attachment->extension(), ['wav', 'mp3']) ) @endif @if( $attachment->extension() === 'mp4') @endif @if( $attachment->extension() === 'pdf') @endif @if( $attachment->extension() == 'docx') @endif @if( $attachment->extension() == 'xlsx') @endif
@endif @error('body') {{ $message }} @enderror @error('attachment') {{ $message }} @enderror @if($showEmoji) @endif @if($showCanned)

@forelse($cannedResponses as $cannedResponse) {{$cannedResponse->title}} @empty No Responses Found @endforelse

@endif {{-- --}} {{-- --}}
@if($ResourceInfo != null && ($ResourceInfo->type == 'Message' || ( $ResourceInfo->channel == 'Facebook' && $ResourceInfo->type == 'Comment'))) @endif
@if($ResourceInfo != null && ($ResourceInfo->channel == 'Facebook' || $ResourceInfo->channel == 'Instagram') && $ResourceInfo->type == 'Comment') @if($choosePage == null)
@else @endif @else @endif