{{ __('Channel') }}

{{ __('LINE') }} {{ __('Official Account') }}

{{ __('Connect a LINE Official Account (Messaging API). Inbound lands in your shared Team Inbox and replies, keyword rules and auto-responders work exactly like every other channel.') }}

@if ($channels->isNotEmpty())
{{ __('Rich menus') }} {{ __('Insights') }} @if (\Illuminate\Support\Facades\Route::has('user.line.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 Channel access token and Channel secret from the LINE Developers Console (Messaging API channel).') }}

@csrf
{{ __('Connected channels') }} {{ $channels->count() }}
@forelse ($channels as $ch)
L
{{ $ch->display_name ?: __('LINE channel') }} @if ($ch->basic_id){{ $ch->basic_id }}@endif
{{ $ch->active ? __('Active') : __('Paused') }} @if ($ch->last_error)· {{ $ch->last_error }}@endif
{{ $ch->webhookUrl() }}
{{ __('Token rotation (v2.1)') }} @if ($ch->rotationEnabled()){{ __('on') }}@endif
@csrf

{{ __('Optional. Paste the Assertion Signing Key (RSA private key) and its kid from the LINE console to auto-issue short-lived, revocable tokens. Leave blank to keep the pasted long-lived token.') }}

@if ($ch->rotationEnabled() && $ch->rotating_token_expires_at) {{ __('renews') }} {{ $ch->rotating_token_expires_at->diffForHumans() }} @endif
@csrf
@csrf
@csrf @method('DELETE')
@empty
{{ __('No LINE channels connected yet.') }}
@endforelse
{{-- Setup guide --}}