@php use App\Bots; use App\SummaryMessageSend; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Auth; $currentUser = Auth::user(); $currentUserId = $currentUser ? $currentUser->id : null; $listBot = getListBotHeader($currentUserId)->toArray(); $listBot = array_chunk($listBot, 2); $startOfMonth = \Carbon\Carbon::now()->startOfMonth()->format('Y-m-d'); $dayNowOfMonth = \Carbon\Carbon::now()->format('Y-m-d'); $limitMessageLine = 0; $totalChatByMonth = 0; $botLineId = null; $botId = getBotId(); if ($botId) { $bot = Bots::query()->select('line_id')->find($botId); $botLineId = $bot ? $bot->getAttribute('line_id') : null; } if ($getBotInfo && $getBotInfo->plan_type == 1) { if (Cache::has('summaryTotalChatByMonth'.$getBotInfo->id)) { $totalChatByMonth = Cache::get('summaryTotalChatByMonth'.$getBotInfo->id); } else { $summaryTotalChatByMonth = SummaryMessageSend::where('bot_id', $getBotInfo->id) ->whereBetween('date_summary', [$startOfMonth, $dayNowOfMonth]) ->selectRaw('SUM(number_message_send_chat11) as total_chat11, SUM(number_message_send_broadcast) as total_chat_broadcast, SUM(number_message_send_other) as total_chat_other') ->first(); $totalChatByMonth = $summaryTotalChatByMonth->total_chat11 + $summaryTotalChatByMonth->total_chat_broadcast + $summaryTotalChatByMonth->total_chat_other; Cache::put('summaryTotalChatByMonth'.$getBotInfo->id, $totalChatByMonth, 10); } $limitMessageLine = $getBotInfo->limit_message_loa; } else if ($getBotInfo) { $totalChatByMonth = $getBotInfo->free_send_count; $limitMessageLine = $getBotInfo->limit_message_loa; } $planLOA = "communication"; if ($limitMessageLine >= 200 && $limitMessageLine < 5000) { $planLOA = 'communication'; } if ($limitMessageLine >= 5000 && $limitMessageLine < 30000) { $planLOA = "light"; } if ($limitMessageLine >= 30000) { $planLOA = "standard"; } @endphp
@{{ botInfo.view_name }}
操作アカウント切り替え
アカウント一覧
@if(count($listBot) > 0) @foreach($listBot as $bot2item)
@foreach($bot2item as $item)
{{ $item['view_name'] }}
@endforeach
@endforeach @endif
{{-- QR button tooltip --}}
友だち追加情報
{{-- QR Popup --}}
友だち追加情報
{{-- アカウント名 --}}
{{-- 情報更新ボタン --}}
LINE公式アカウント管理画面で、
画像・アカウント名を変更した場合
{{-- 友だち追加用URL --}}
LINE公式アカウント管理画面で取得できる友だち追加URLとの違い
システムの仕様でURLは異なりますが、それぞれに違いはありません。エルメ接続後も、LINE公式アカウント管理画面から取得できる友だち追加URLは引き続き利用可能です。
コピーする
{{-- Instagram 友だち追加URL設置ガイド --}}
{{-- LINE ID --}}
コピーする
{{-- MCP ID --}}
コピーする
{{-- QRコード --}}
QR Code
@if(!empty($getBotInfo)) @if($getBotInfo->plan_type == 2 || $getBotInfo->contract_type == 'free') アップグレード @endif
配信数
{{-- 配信数 dropdown--}}
{{-- Header--}}
配信数 通数

エルメとLINE公式アカウントはそれぞれに契約が必要です。LINE公式アカウントの配信数・契約プランは、翌日深夜に1日1回のみ更新されますので、リアルタイムの情報ではありません。

詳細を見る
配信数の解説はこちら
{{-- Alert banner (warning/error)--}}
配信数上限が近づいています。 配信数上限に達しています。

料金プランのアップグレードを推奨します。

料金プランのアップグレードが必要です。

詳細を見る
{{-- Stats cards--}}
L Message
{{ number_format($totalChatByMonth) }} / @if($getBotInfo->plan_type == 2) 1,000 @else 無制限 @endif
最終更新:リアルタイム
LINE公式アカウント
@{{ formatNumber(botInfo.message_sent_count) }} / @{{ formatNumber(botInfo.limit_message_loa) }}
最終更新:@{{ last_time_update_msg }}
@endif {{-- サポート --}}
サポート
{{-- サポート dropdown --}}
お困りですか?
マニュアルサイト {{-- エルメの機能紹介--}}
お問い合わせ
チャットサポート 機能改善リクエスト
{{-- お知らせ --}}
お知らせ
{{-- お知らせ dropdown --}}
お知らせ
ニュース
アップデート
メンテナンス

@{{ notify.title }}

@{{ notify.start_human }}
{{-- Delivery limit modal (error/warning, LINE/LME, 4 plans — 8 variants) --}} @if($getBotInfo)
@{{ deliveryModalTitle }}

@{{ deliveryModalAccountLabel }}
@{{ formatNumber(botInfo.message_sent_count) }} / {{ number_format($limitMessageLine) }}
{{ number_format($totalChatByMonth) }} / 1,000

最終更新:@{{ last_time_update_msg }}

※ エルメの契約を有料プランにアップグレードしても、配信エラーは解消しません。
@endif
{{ $currentUser ? $currentUser->username : null }}
{{ $currentUser ? $currentUser->username : null }}
@if(!empty($getBotInfo))
@if($getBotInfo->contract_type === 'standard') スタンダードプラン @elseif ($getBotInfo->contract_type === 'pro') プロプラン @elseif ($getBotInfo->contract_type === 'enterprise') おまとめ(スタンダードプラン) @elseif ($getBotInfo->contract_type === 'enterprise_pro') おまとめ(プロプラン) @else フリープラン @endif
@endif
マイページ
LINE公式アカウント一覧
契約情報
決済履歴・領収書
ログアウト
既存友だちをエルメ上に反映しますか?
LINE公式アカウントの認証済みアカウントへの変更を検知しました。エルメ接
続前からの既存友だちをエルメ上に反映することができます。反映しますか?
注意

・LINE公式アカウント管理画面上で「ブロックされている」または「スパ

ム登録している」友だちは取得されません。

・過去にエルメ上でブロックした友だちは取得されません。

・過去にエルメ上で削除した友だちは、エルメ上に反映されます。

反映しないでエルメの利用を続ける 反映する
※ 後から友だちを反映する操作も可能です。
既存友だちの取得を開始しました
友だちの人数が多い場合、取得が完了するまで数時間かかる場合が
あります。完了後、友だちリストへ自動的に反映されます。
閉じる
{{-- Instagram 友だち追加URL設置ガイド モーダル --}}
Instagramに友だち追加URLを設置する場合
URL設置の手順
1

「LINE OFFICIAL ACCOUNT MANAGER」にログインしてください。

※ LINE公式アカウントの管理画面です。

2

ログイン後、左側メニューから「友だち追加ガイド」を選んでください。

3

「URL作成」をクリックし、表示されたURLをコピーしてInstagramに設置してください。

注意事項
Instagramに友だち追加URLを設置すると『リンクをシェアできません』『詐欺の可能性があります』と表示される可能性があります。