Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LINE Group Bot by Zwiz.AI

LINE Group Bot by Zwiz.AI

A session from LINE THAILAND DEVELOPER CONFERENCE 2025 by Chanakarn Chinchatchawal, LINE Certified Coach & LINE Developer Partner

Avatar for LINE Developers Thailand

LINE Developers Thailand

September 15, 2025
Tweet

More Decks by LINE Developers Thailand

Other Decks in Technology

Transcript

  1. BOT 1 (Intent-based) DATABASE + CACHE (optional) Behind The Scenes

    BOT 2 (Generative AI) Architecture Overview
  2. BOT 1 (Intent-based) Behind The Scenes น้องซี ลาวันที่ 30 กย

    น้องซี จองห้องประชุม รหัส wifi เราอะไร Intent การลา วันลาคงเหลือ การจองห้องประชุม รหัส wifi
  3. BOT 1 (Intent-based) DATABASE + CACHE (optional) Behind The Scenes

    BOT 2 (Generative AI) Handle simple/specific queries Handle complex queries
  4. Sender Name & Icon Behind The Scenes curl -v -X

    POST https://api.line.me/v2/bot/message/push \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer {CHANNEL_ACCESS_TOKEN}' \ -d '{ "to": "U1234....", "messages": [ { "type": "text", "text": "Hello, I am Cony!!", "sender": { "name": "Cony", "iconUrl": "https://line.me/conyprof" } } ] }'
  5. Don’t forget to - Handle GroupID and UserID Behind The

    Scenes "source": { "type": "group", "groupId": "Ca56f94637c...", "userId": "U4af4980629..." }
  6. Don’t forget to - Handle GroupID and UserID Behind The

    Scenes Invite to other groups Check GroupID & Call Leave Group API
  7. Behind The Scenes Don’t forget to - Handle Join and

    Leave event { "destination": "xxxxxxxxxx", "events": [ { "replyToken": "nHuyWiB7yP5Zw52FIkcQobQuGDXCTA", "type": "join", "mode": "active", "timestamp": 1462629479859, "source": { "type": "group", "groupId": "C4af4980629..." }, "webhookEventId": "01FZ74A0TDDPYRVKNK77XKC3ZR", "deliveryContext": { "isRedelivery": false } }]}
  8. Behind The Scenes Cost of API Reply API in group

    = 0 THB (No cost) Push API in group = No. of members x 0.06 THB refer to Pro package also LIFF.sendmessage()