{{ __('Channel') }}

{{ __('Viber') }} {{ __('Public Account') }}

{{ __('Connect a Viber Public Account (Bot). Inbound lands in your shared Team Inbox and replies, keyword rules and auto-responders work exactly like every other channel — we register the webhook for you automatically.') }}

@if ($channels->isNotEmpty())
{{ __('Insights') }} @if (\Illuminate\Support\Facades\Route::has('user.viber.broadcasts.index')) {{ __('Broadcasts') }} @endif
@endif
@if (session('status'))
{{ session('status') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
@foreach ($errors->all() as $e)
{{ $e }}
@endforeach
@endif
{{-- Connect form + connected channels --}}

{{ __('Connect a channel') }}

{{ __('Paste the authentication token from your Viber Public Account (Admin Panel → your bot → Edit info).') }}

@csrf
{{ __('Connected channels') }} {{ $channels->count() }}
@forelse ($channels as $ch)
V
{{ $ch->bot_name ?: __('Viber bot') }} @if ($ch->bot_uri)viber.com/{{ $ch->bot_uri }}@endif
{{ $ch->active ? __('Active') : __('Paused') }} @if ($ch->last_error)· {{ $ch->last_error }}@endif
{{ $ch->webhookUrl() }}
@csrf
@csrf
@csrf @method('DELETE')
@empty
{{ __('No Viber channels connected yet.') }}
@endforelse
{{-- Setup guide + restrictions --}}