SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
BOT API Trial
Sending Messages
• Text
• Image
• Video
• Audio
• Location
• Sticker
• Rich Message
BOT API Trial
Sending Messages
• Text
• Image
• Video
• Audio
• Location
• Sticker
• Rich Message
BOT API Trial
Sending Messages
• Text
• Image
• Video
• Audio
• Location
• Sticker
• Rich Message
BOT API Trial Problems
Complexity of features with rich UI/UX
Need to send message one-by-one in order to
receive response from users
Cannot join group
Etc…
API is complex
LINE BOT & Messaging API
New Message
API
Added new
MessageType
Events that
can be accepted
via webhook
Participation
in groups
New features added to LINE Bot
New Messaging API
New Messaging API
LINE Chat
(1-on-1 or group)
1. Reply API
LINE Server Bot Application
LINE
Message
Your System
Webhook
Reply ID
New Messaging API
LINE Chat
(1-on-1 or group)
1. Reply API
LINE Server Bot Application
LINE
Message
Your System
Webhook
Reply ID
Message Reply
With reply ID
New Messaging API
LINE Server
2. Push API
LINE Chat
(1-on-1 or group)
Bot Application
LINE
Message
Your System
Push
with
user ID /
group ID
BOT API Trial Message API
curl -X POST ¥
-H 'Content-Type: application/json' ¥
-H 'X-Line-ChannelID: <Channel ID>' ¥
-H 'X-Line-ChannelSecret: <Channel Secret>' ¥
-H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥
-d '{
"to":["userId1"],
"toChannel":1383378250,
"eventType":"138311608800106203",
"content":{
"contentType":1,
"toType":1,
"text":"Hello, Jose!"
}
}’ https://trialbot-api.line.me/v1/events
BOT API Trial Message API
curl -X POST ¥
-H 'Content-Type: application/json' ¥
-H 'X-Line-ChannelID: <Channel ID>' ¥
-H 'X-Line-ChannelSecret: <Channel Secret>' ¥
-H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥
-d '{
"to":["userId1"],
"toChannel":1383378250,
"eventType":"138311608800106203",
"content":{
"contentType":1,
"toType":1,
"text":"Hello, Jose!"
}
}’ https://trialbot-api.line.me/v1/events
Too many Bot Info
Fixed Magic Number
Unknown value
Fixed Magic Number
New Messaging API
curl -X POST ¥
-H "Content-Type:application/json" ¥
-H "Authorization: Bearer <Access Token>" ¥
-d '{
"to": "userId or groupId",
"messages": [
{"type": "text", "text": "Hello LINE Bot" }
]
} ' https://api.line.me/v2/bot/message/push
New Messaging Type
New Message Type
Buttons Template
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
"text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
”text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
"text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": buttons",
"thumbnailImageUrl":
"http://example.com/image.jpg",
"title": "Current Weather…",
”text": "9/29 Weather…",
"actions": [{
"type": "message",
"label": ”How about…",
"text": "How about…"
}, {
"type": "uri",
"label": ”Open Browser",
"uri": "https://line.me"
}]
}
}
New Message Type
Confirm Template
{
"type": "template",
"altText": "this is an template",
"template": {
"type": “confirm”,
"text": "Are you sure?",
"actions": [{
"type": "message",
"label": "OK",
"text": "Yes, Please"
}, {
"type": "message",
"label": ”Cancel",
"text": "No thank you"
}]
}
}
New Message Type
Carousel Template
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
{
"type": "template",
"altText": "this is an template",
"template": {
"type": "carousel",
"columns": [{
"thumbnailImageUrl”:"http://…",
"title": "Current Whether…",
”text": "9/29 Whether…",
"actions": [ ... ]
}, {
"thumbnailImageUrl”: "http://…",
"title": "Current Whether…",
"text": "9/30 Whether…",
"actions": [ ... ]
}
]}
}
Now’s the Time to Begin Coding!!
Webhook
LINE Chat
(1-on-1 or group)
LINE Server Bot Application
LINE
Message
Your System
Webhook
LINE Chat
(1-on-1 or group)
Event
{ "events": […] }
event
contact status
“follow” “unfollow”“message”
• Text
• Image
• Location
• Sticker
• Contact
event
contact status
“follow” “unfollow”
group status
“join” “leave”
“beacon” “postback”
“message”
• Text
• Image
• Location
• Sticker
• Contact
Postback?
Send Event to Your Server Directly with Parameters.
{
"replyToken": “xxxxxxxxxx",
"type": "postback",
"timestamp": 1462629479859,
"source": {
"type": "user",
"userId": "xxxxxxxxxxxx"
},
"postback": {
"data": "action=remind&itemId=123",
}
}
Bot Application
Webhook
Let’s Implement Bot Server!!
Summary
New Message
API
Added new
Message Type
Events that
can be accepted
via webhook
Participation
in groups
New features added to Messaging API
B 3 line bot live coding

Contenu connexe

Tendances

Mohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuthMohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuth
fossmy
 
Rest presentation
Rest  presentationRest  presentation
Rest presentation
srividhyau
 
Scalable Reliable Secure REST
Scalable Reliable Secure RESTScalable Reliable Secure REST
Scalable Reliable Secure REST
guestb2ed5f
 
RESTful services
RESTful servicesRESTful services
RESTful services
gouthamrv
 

Tendances (19)

RESTful API Automation with JavaScript
RESTful API Automation with JavaScriptRESTful API Automation with JavaScript
RESTful API Automation with JavaScript
 
The never-ending REST API design debate
The never-ending REST API design debateThe never-ending REST API design debate
The never-ending REST API design debate
 
Design Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIsDesign Beautiful REST + JSON APIs
Design Beautiful REST + JSON APIs
 
REST API Design for JAX-RS And Jersey
REST API Design for JAX-RS And JerseyREST API Design for JAX-RS And Jersey
REST API Design for JAX-RS And Jersey
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and REST
 
Austin Day of Rest - Introduction
Austin Day of Rest - IntroductionAustin Day of Rest - Introduction
Austin Day of Rest - Introduction
 
Rest and the hypermedia constraint
Rest and the hypermedia constraintRest and the hypermedia constraint
Rest and the hypermedia constraint
 
40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently
 
Mohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuthMohanraj - Securing Your Web Api With OAuth
Mohanraj - Securing Your Web Api With OAuth
 
Rest & RESTful WebServices
Rest & RESTful WebServicesRest & RESTful WebServices
Rest & RESTful WebServices
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
 
Rest presentation
Rest  presentationRest  presentation
Rest presentation
 
Scalable Reliable Secure REST
Scalable Reliable Secure RESTScalable Reliable Secure REST
Scalable Reliable Secure REST
 
Understanding and testing restful web services
Understanding and testing restful web servicesUnderstanding and testing restful web services
Understanding and testing restful web services
 
Understanding REST
Understanding RESTUnderstanding REST
Understanding REST
 
The Internet as Web Services: introduction to ReST
The Internet as Web Services: introduction to ReSTThe Internet as Web Services: introduction to ReST
The Internet as Web Services: introduction to ReST
 
RESTful services
RESTful servicesRESTful services
RESTful services
 
MongoDB.local Sydney: MongoDB Atlas for Your Enterprise
MongoDB.local Sydney: MongoDB Atlas for Your EnterpriseMongoDB.local Sydney: MongoDB Atlas for Your Enterprise
MongoDB.local Sydney: MongoDB Atlas for Your Enterprise
 
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
JavaScript Security: Mastering Cross Domain Communications in complex JS appl...
 

En vedette

B 7 a true agile team - global line news
B 7 a true agile team - global line newsB 7 a true agile team - global line news
B 7 a true agile team - global line news
LINE Corporation
 
B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2
LINE Corporation
 
A 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcomeA 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcome
LINE Corporation
 
B 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line gameB 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line game
LINE Corporation
 
A 10 working environment and culture for line engineers
A 10 working environment and culture for line engineersA 10 working environment and culture for line engineers
A 10 working environment and culture for line engineers
LINE Corporation
 
B 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flinkB 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flink
LINE Corporation
 
A 7 architecture sustaining line live
A 7 architecture sustaining line liveA 7 architecture sustaining line live
A 7 architecture sustaining line live
LINE Corporation
 
A 9 line shop powered by armeria
A 9 line shop powered by armeriaA 9 line shop powered by armeria
A 9 line shop powered by armeria
LINE Corporation
 

En vedette (20)

B 7 a true agile team - global line news
B 7 a true agile team - global line newsB 7 a true agile team - global line news
B 7 a true agile team - global line news
 
A 1 opening & introduction
A 1 opening & introductionA 1 opening & introduction
A 1 opening & introduction
 
B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2B 2 line game cloud - our personal ec2
B 2 line game cloud - our personal ec2
 
A 2 new world by the line bot
A 2 new world by the line botA 2 new world by the line bot
A 2 new world by the line bot
 
A 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcomeA 3 difficult challenges that line has overcome
A 3 difficult challenges that line has overcome
 
A 6 group app platform
A 6 group app platformA 6 group app platform
A 6 group app platform
 
B 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line gameB 5 stellite -apply chromium open-source to line game
B 5 stellite -apply chromium open-source to line game
 
A 10 working environment and culture for line engineers
A 10 working environment and culture for line engineersA 10 working environment and culture for line engineers
A 10 working environment and culture for line engineers
 
B 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flinkB 6 new stream processing platform with apache flink
B 6 new stream processing platform with apache flink
 
B 4 gravty
B 4 gravtyB 4 gravty
B 4 gravty
 
A 7 architecture sustaining line live
A 7 architecture sustaining line liveA 7 architecture sustaining line live
A 7 architecture sustaining line live
 
A 4 line login - line platform
A 4 line login - line platformA 4 line login - line platform
A 4 line login - line platform
 
A 5 security x line platform
A 5 security x line platformA 5 security x line platform
A 5 security x line platform
 
A 8 line group call
A 8 line group callA 8 line group call
A 8 line group call
 
A 9 line shop powered by armeria
A 9 line shop powered by armeriaA 9 line shop powered by armeria
A 9 line shop powered by armeria
 
B 1 rinna and rinna
B 1 rinna and rinnaB 1 rinna and rinna
B 1 rinna and rinna
 
ディープラーニングで株価予測をやってみた
ディープラーニングで株価予測をやってみたディープラーニングで株価予測をやってみた
ディープラーニングで株価予測をやってみた
 
リアルタイム画風変換とその未来
リアルタイム画風変換とその未来リアルタイム画風変換とその未来
リアルタイム画風変換とその未来
 
S8 line engineer culture
S8 line engineer cultureS8 line engineer culture
S8 line engineer culture
 
S4 line business platform
S4 line business platformS4 line business platform
S4 line business platform
 

Similaire à B 3 line bot live coding

Buiding application for social networks
Buiding application for social networksBuiding application for social networks
Buiding application for social networks
Đỗ Duy Trung
 
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIsThe liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
Jorge Ferrer
 

Similaire à B 3 line bot live coding (20)

An Introduction to Working With the Activity Stream
An Introduction to Working With the Activity StreamAn Introduction to Working With the Activity Stream
An Introduction to Working With the Activity Stream
 
Mikkel Heisterberg - An introduction to developing for the Activity Stream
Mikkel Heisterberg - An introduction to developing for the Activity StreamMikkel Heisterberg - An introduction to developing for the Activity Stream
Mikkel Heisterberg - An introduction to developing for the Activity Stream
 
Identifying Users Across Platforms with a Universal ID Webinar Slides
Identifying Users Across Platforms with a Universal ID Webinar SlidesIdentifying Users Across Platforms with a Universal ID Webinar Slides
Identifying Users Across Platforms with a Universal ID Webinar Slides
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social Update
 
My Journey into the Terrifying World of Hypermedia
My Journey into the Terrifying World of HypermediaMy Journey into the Terrifying World of Hypermedia
My Journey into the Terrifying World of Hypermedia
 
Buiding application for social networks
Buiding application for social networksBuiding application for social networks
Buiding application for social networks
 
Extensible RESTful Applications with Apache TinkerPop
Extensible RESTful Applications with Apache TinkerPopExtensible RESTful Applications with Apache TinkerPop
Extensible RESTful Applications with Apache TinkerPop
 
Technology for Teachers
Technology for TeachersTechnology for Teachers
Technology for Teachers
 
Open Social Presentation - GSP West 2008
Open Social Presentation - GSP West 2008Open Social Presentation - GSP West 2008
Open Social Presentation - GSP West 2008
 
The Browser, the User and the Library (How to to be in between)
The Browser, the User and the Library (How to to be in between)The Browser, the User and the Library (How to to be in between)
The Browser, the User and the Library (How to to be in between)
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Barcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application DevelopmentBarcamphanoi Opensocial Application Development
Barcamphanoi Opensocial Application Development
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social Update
 
WikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributionsWikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributions
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016
 
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
 
APIs for modern web apps
APIs for modern web appsAPIs for modern web apps
APIs for modern web apps
 
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
.NET Fest 2018. Антон Молдован. One year of using F# in production at SBTech
 
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIsThe liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
The liferay case: lessons learned evolving from RPC to Hypermedia REST APIs
 

Plus de LINE Corporation

Plus de LINE Corporation (20)

JJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LTJJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LT
 
Reduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin CoroutinesReduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin Coroutines
 
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみたKotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
 
Use Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extensionUse Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extension
 
The Magic of LINE 購物 Testing
The Magic of LINE 購物 TestingThe Magic of LINE 購物 Testing
The Magic of LINE 購物 Testing
 
GA Test Automation
GA Test AutomationGA Test Automation
GA Test Automation
 
UI Automation Test with JUnit5
UI Automation Test with JUnit5UI Automation Test with JUnit5
UI Automation Test with JUnit5
 
Feature Detection for UI Testing
Feature Detection for UI TestingFeature Detection for UI Testing
Feature Detection for UI Testing
 
LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享
 
​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享
 
LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣
 
日本開發者大會短講分享
日本開發者大會短講分享日本開發者大會短講分享
日本開發者大會短講分享
 
LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享
 
在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed Kubernetes在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed Kubernetes
 
LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧
 
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
 
LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享
 
LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗
 
LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務
 
Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

B 3 line bot live coding

  • 1.
  • 2.
  • 3. BOT API Trial Sending Messages • Text • Image • Video • Audio • Location • Sticker • Rich Message
  • 4. BOT API Trial Sending Messages • Text • Image • Video • Audio • Location • Sticker • Rich Message
  • 5. BOT API Trial Sending Messages • Text • Image • Video • Audio • Location • Sticker • Rich Message
  • 6. BOT API Trial Problems Complexity of features with rich UI/UX Need to send message one-by-one in order to receive response from users Cannot join group Etc… API is complex
  • 7.
  • 8. LINE BOT & Messaging API New Message API Added new MessageType Events that can be accepted via webhook Participation in groups New features added to LINE Bot
  • 10. New Messaging API LINE Chat (1-on-1 or group) 1. Reply API LINE Server Bot Application LINE Message Your System Webhook Reply ID
  • 11. New Messaging API LINE Chat (1-on-1 or group) 1. Reply API LINE Server Bot Application LINE Message Your System Webhook Reply ID Message Reply With reply ID
  • 12. New Messaging API LINE Server 2. Push API LINE Chat (1-on-1 or group) Bot Application LINE Message Your System Push with user ID / group ID
  • 13. BOT API Trial Message API curl -X POST ¥ -H 'Content-Type: application/json' ¥ -H 'X-Line-ChannelID: <Channel ID>' ¥ -H 'X-Line-ChannelSecret: <Channel Secret>' ¥ -H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥ -d '{ "to":["userId1"], "toChannel":1383378250, "eventType":"138311608800106203", "content":{ "contentType":1, "toType":1, "text":"Hello, Jose!" } }’ https://trialbot-api.line.me/v1/events
  • 14. BOT API Trial Message API curl -X POST ¥ -H 'Content-Type: application/json' ¥ -H 'X-Line-ChannelID: <Channel ID>' ¥ -H 'X-Line-ChannelSecret: <Channel Secret>' ¥ -H 'X-Line-Trusted-User-With-ACL: <Channel MID>' ¥ -d '{ "to":["userId1"], "toChannel":1383378250, "eventType":"138311608800106203", "content":{ "contentType":1, "toType":1, "text":"Hello, Jose!" } }’ https://trialbot-api.line.me/v1/events Too many Bot Info Fixed Magic Number Unknown value Fixed Magic Number
  • 15. New Messaging API curl -X POST ¥ -H "Content-Type:application/json" ¥ -H "Authorization: Bearer <Access Token>" ¥ -d '{ "to": "userId or groupId", "messages": [ {"type": "text", "text": "Hello LINE Bot" } ] } ' https://api.line.me/v2/bot/message/push
  • 18. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", "text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 19. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", ”text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 20. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", "text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 21. { "type": "template", "altText": "this is an template", "template": { "type": buttons", "thumbnailImageUrl": "http://example.com/image.jpg", "title": "Current Weather…", ”text": "9/29 Weather…", "actions": [{ "type": "message", "label": ”How about…", "text": "How about…" }, { "type": "uri", "label": ”Open Browser", "uri": "https://line.me" }] } }
  • 23. { "type": "template", "altText": "this is an template", "template": { "type": “confirm”, "text": "Are you sure?", "actions": [{ "type": "message", "label": "OK", "text": "Yes, Please" }, { "type": "message", "label": ”Cancel", "text": "No thank you" }] } }
  • 25. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 26. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 27. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 28. { "type": "template", "altText": "this is an template", "template": { "type": "carousel", "columns": [{ "thumbnailImageUrl”:"http://…", "title": "Current Whether…", ”text": "9/29 Whether…", "actions": [ ... ] }, { "thumbnailImageUrl”: "http://…", "title": "Current Whether…", "text": "9/30 Whether…", "actions": [ ... ] } ]} }
  • 29. Now’s the Time to Begin Coding!!
  • 30.
  • 31. Webhook LINE Chat (1-on-1 or group) LINE Server Bot Application LINE Message Your System Webhook LINE Chat (1-on-1 or group) Event { "events": […] }
  • 32. event contact status “follow” “unfollow”“message” • Text • Image • Location • Sticker • Contact
  • 33. event contact status “follow” “unfollow” group status “join” “leave” “beacon” “postback” “message” • Text • Image • Location • Sticker • Contact
  • 34. Postback? Send Event to Your Server Directly with Parameters. { "replyToken": “xxxxxxxxxx", "type": "postback", "timestamp": 1462629479859, "source": { "type": "user", "userId": "xxxxxxxxxxxx" }, "postback": { "data": "action=remind&itemId=123", } } Bot Application Webhook
  • 36.
  • 37.
  • 38. Summary New Message API Added new Message Type Events that can be accepted via webhook Participation in groups New features added to Messaging API