{{ __('Channel') }}

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

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

@if ($channels->isNotEmpty())
{{ __('Menu') }} {{ __('Insights') }} @if (\Illuminate\Support\Facades\Route::has('user.wechat.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 AppID, AppSecret and the server Token from the WeChat Official Accounts Platform (Settings → Basic Configuration).') }}

@csrf
{{ __('Connected channels') }} {{ $channels->count() }}
@forelse ($channels as $ch)
W
{{ $ch->account_name ?: __('WeChat account') }} @if ($ch->wx_id){{ $ch->wx_id }}@endif
{{ $ch->active ? __('Active') : __('Paused') }} · {{ $ch->app_id }} @if ($ch->last_error)· {{ $ch->last_error }}@endif
{{ __('Paste into WeChat → Server Config') }}
URL: {{ $ch->webhookUrl() }}
Token: {{ $ch->verify_token }}
@csrf
@csrf
@csrf @method('DELETE')
@empty
{{ __('No WeChat channels connected yet.') }}
@endforelse
{{-- Setup guide --}}