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

打造 LINE Bot 並且加入一個有個性的大腦

打造 LINE Bot 並且加入一個有個性的大腦

20231107- 台大電機產學合作 by Evan Lin

LINE Developers Taiwan

November 07, 2023
Tweet

More Decks by LINE Developers Taiwan

Other Decks in Technology

Transcript

  1. Evan Lin Lead of LINE Taiwan Developer Relations External Evangelism

    TECH FRESH People Manager Internal LLM/App Evangelist
  2. 198 DYNAMIC USER BASE 19 GLOBAL MAU million SUPPORTS languages

    BY THE NUMBERS 178 *Supported languages: Arabic, Brazilian Portuguese, English, French, German, Indonesian, Italian, Japanese, Korean, Malay, Portuguese, Russian, Spanish (Castilian), Spanish (Latin America), Simplified Chinese, Thai, Traditional Chinese, Turkish, Vietnamese TOP-4 MAU million (Japan, Taiwan, Thailand, Indonesia) *As of March 2023 image: Freepik.com
  3. 6

  4. 發送各種訊息格式 Message Event Imagemap message Flex message Text message Template

    message Location message Sticker message Image message Video/Audio Message Quote message
  5. 什麼是 Quick Reply? • Camera action • Camera roll action

    • Location action • Postback action • Message action • URI action • Datetime picker action
  6. • 圖片格式: JPEG or PNG • 寬度 (pixels): 800 to

    2500 • ⾼度 (pixels): 250 or more • 比率 (width/height): 1.45 or more • 檔案最⼤尺⼨: 1 MB 什麼是 Rich Menu?
  7. 發給 OA 互動的⽤⼾ - Send Message • 各式 Message 格式

    • 最多⼀次發送 5 則訊息 • 從 OA 點過去的 LIFF 才能使⽤ https://developers.line.biz/en/reference/liff/#send-messages
  8. 分享很重要 – Share Target Picker • 外部瀏覽器 ➡ liff.login() •

    liff.isApiAvailable() • 透過個⼈帳號發送
  9. OMO 最需要的! - liff.scanCodeV2() • Powered by WebRTC • LINE

    v11.7.0+ • LIFF v2.15.0+ • External Browser/Android/iOS
  10. • LIFF starter app - https://github.com/line/line-liff-v2-starter - NextJS - NuxtJS

    - Vanilla • LIFF Playground - https://github.com/line/liff-playground - https://liff-playground.netlify.app/ - 外部/⼿機 瀏覽器皆可使⽤ 從哪開始呢? - Starter