S2 messaging api

Post on 12-Apr-2017

4.623 views 0 download

Transcript of S2 messaging api

MESSAGING API

KEVIN LUO Application Analyst

Outline • Why

• Features

• Use Cases

• Next Steps

Why

Services

LINE OAOver 3000 Accounts

LINE@Over 3 Million

Accounts

Chat BOT Service Manual to Automatic

BOT API Trial

• Apr 07 ~ Nov 16

• More than 20k developers

• We got feedback from developers

3 New Features

GROUP /CHAT

Group/Room

Bot

Bot

Event Organiser

3 New Features

NEW MESSAGE

TYPE

GROUP /CHAT

Confirm Button Carousel

Imagemap

• Multiple areas

• Different actions • URI

• message

• postback

More Template Messages

• Template message is HTML type message

• Develop more templates

• Even work with partners

3 New Features

REPLY /PUSH

NEW MESSAGE

TYPE

GROUP /CHAT

Reply / Push

user send message

Reply from bot

Push from bot

new

How Does It Work?

LINE APP

webhook (https)

API call (https)response (https)

request (https)

Your BotLINE Bot Platform

How to in your Bot?

Session management Refresh access token

Traffic burst Async mode

User behaviour trackingYour BotLINE USER

API Design Improvement

Intuitive & Simplicity & Secure

Messaging API Bot API (Deprecated)

Developer Trial Account Trial Account

Webhook event objectReceiving message Receiving operation

Imagemap message Rich message

Reply message Sending message

Push message Sending message

Template message n/a

Reply token n/a

User_id (different from each Bot provider) Mid

Webhook Event Object

Message Text, Image, Audio, Video, Sticker, Location

Follow Added as friend

Unfollow Blocked

Join Join group/room

Leave new Leave group/room

Postback new From template action

Beacon new Got beacon signal

Location Event Object

Postback Event Object

SDK Support

• Easily use

• Wrap up data parsing

• Simplify message composing

• Many languages

• https://github.com/line/

Php Sample

Use Cases

台北市政府(@taipei)

COSCUP 2016

愛捐⾎血(@blood)

Develop NOW !!!

(App) https://business.line.me (Bot) https://developers.line.me

(Bot) https://admin-official.line.me

Terms & Relations

Personal LINE Account

Business

LINE OA

BC(Business Connect) Messaging API

LINE @

Messaging API

Login & Add Company

https://business.line.me/en/

Bot Settings

Features Disabled: 1-on-1 LINE@ app Store Chat Enable

Channel Developers

Channel ID Channel Secret

Webhook URL Channel Access Token

Thank you and Enjoy!