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

DETAIL IN LINE EMOJI IN TEXT MESSAGING BY GOLANG

DETAIL IN LINE EMOJI IN TEXT MESSAGING BY GOLANG

by Evan Lin @Chatbot community #19 https://chatbots.kktix.cc/events/meetup-019

More Decks by LINE Developers Taiwan

Other Decks in Technology

Transcript

  1. DETAIL IN LINE EMOJI IN TEXT
    MESSAGING BY GOLANG
    LINE Developer Relations
    Evan Lin
    2020.05
    1

    View full-size slide

  2. Evan Lin
    • LINE Developer Relations
    • LINE Developer Meetup
    • LINE TAIWAN TECHPULSE Organizer
    LINE Technology Evangelist
    2

    View full-size slide

  3. What is LINE Emoji
    3

    View full-size slide

  4. How to send LINE Emoji on OA CMS
    4

    View full-size slide

  5. http://www.evanlin.com/go-emoji/
    How to send LINE Emoji on Chatbot? (deprecated)
    5

    View full-size slide

  6. http://www.evanlin.com/go-emoji/
    How to send LINE Emoji on Chatbot? (deprecated)
    6

    View full-size slide

  7. How to send LINE Emoji on Chatbot?
    LINE Emoji API on text message
    2020 April update
    7

    View full-size slide

  8. https://developers.line.biz/en/news/2020/05/12/messaging-api-update-may-2020/
    LINE Emoji detail on webhook
    8

    View full-size slide

  9. Sticker Message or Emoji text message?
    Single emoji becomes
    STATIC sticker
    Emoji with text message
    9

    View full-size slide

  10. LINE Emoji detail on webhook
    “Hello, world! (love)”
    10

    View full-size slide

  11. How to implement echo
    chatbot with LINE Emoji?
    11

    View full-size slide

  12. Sticker Message or Emoji text message?
    12
    ”Hello, world. (brown)”
    ”Hello, world. $”
    ”Hi, this is what you said to
    me `Hello, world. $`”

    View full-size slide

  13. Sticker Message or Emoji text message?
    Sendable LINE emoji list: https://d.line-scdn.net/r/devcenter/sendable_line_emoji_list.pdf

    View full-size slide

  14. Sticker Message or Emoji text message?
    Replace emoji to `$`.
    Add emoji back..
    Check if emoji is send-able.

    View full-size slide

  15. Using Golang for LINE Emoji testing (1)

    View full-size slide

  16. Using Golang for LINE Emoji testing (2)

    View full-size slide

  17. Demo
    https://github.com/kkdai/LineBot-emoji

    View full-size slide

  18. LINE TECH FRESH
    https://engineering.linecorp.com/zh-hant/blog/tech-fresh-2020/
    18

    View full-size slide