forked from line/line-bot-sdk-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
43 lines (39 loc) · 14.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>LINE Messaging API SDK for nodejs | line-bot-sdk-nodejs</title>
<meta name="description" content="Node.js SDK for LINE Messaging API">
<link rel="icon" href="/line-bot-sdk-nodejs/favicon.ico">
<link rel="preload" href="/line-bot-sdk-nodejs/assets/css/styles.beba238d.css" as="style"><link rel="preload" href="/line-bot-sdk-nodejs/assets/js/app.beba238d.js" as="script"><link rel="preload" href="/line-bot-sdk-nodejs/assets/js/4.0a538e22.js" as="script"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/7.0cadc9bb.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/css/1.styles.5a8ea794.css"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/1.5a8ea794.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/css/2.styles.4217617d.css"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/2.4217617d.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/3.00fd5155.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/5.6a811e23.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/6.db9c4c3b.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/8.111766d2.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/9.4e1c3eeb.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/10.c105c408.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/11.36ed3bdb.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/12.3292ae03.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/13.e721f3ae.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/14.b91ba6be.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/15.f132f0db.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/16.663417a1.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/17.bb496f13.js"><link rel="prefetch" href="/line-bot-sdk-nodejs/assets/js/18.884079c0.js">
<link rel="stylesheet" href="/line-bot-sdk-nodejs/assets/css/1.styles.5a8ea794.css"><link rel="stylesheet" href="/line-bot-sdk-nodejs/assets/css/2.styles.4217617d.css"><link rel="stylesheet" href="/line-bot-sdk-nodejs/assets/css/styles.beba238d.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/line-bot-sdk-nodejs/" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">line-bot-sdk-nodejs</span></a> <div class="links" style="max-width:nullpx;"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/line-bot-sdk-nodejs/" class="nav-link router-link-exact-active router-link-active">Introduction</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/getting-started.html" class="nav-link">Getting Started</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/guide.html" class="nav-link">Guide</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/api-reference.html" class="nav-link">API Reference</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/CONTRIBUTING.html" class="nav-link">Contributing</a></div><div class="nav-item"><a href="https://developers.line.me/en/" target="_blank" rel="noopener noreferrer" class="nav-link external">
LINE Developers
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://github.com/line/line-bot-sdk-nodejs/" target="_blank" rel="noopener noreferrer" class="nav-link external">
GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <div class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/line-bot-sdk-nodejs/" class="nav-link router-link-exact-active router-link-active">Introduction</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/getting-started.html" class="nav-link">Getting Started</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/guide.html" class="nav-link">Guide</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/api-reference.html" class="nav-link">API Reference</a></div><div class="nav-item"><a href="/line-bot-sdk-nodejs/CONTRIBUTING.html" class="nav-link">Contributing</a></div><div class="nav-item"><a href="https://developers.line.me/en/" target="_blank" rel="noopener noreferrer" class="nav-link external">
LINE Developers
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://github.com/line/line-bot-sdk-nodejs/" target="_blank" rel="noopener noreferrer" class="nav-link external">
GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav> <ul class="sidebar-links"><li><div class="sidebar-group first"><p class="sidebar-heading open"><span>Introduction</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/line-bot-sdk-nodejs/" class="active sidebar-link">LINE Messaging API SDK for nodejs</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#introduction" class="sidebar-link">Introduction</a></li><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#documentation" class="sidebar-link">Documentation</a></li><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#requirements" class="sidebar-link">Requirements</a></li><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#installation" class="sidebar-link">Installation</a></li><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#help-and-media" class="sidebar-link">Help and media</a></li><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#versioning" class="sidebar-link">Versioning</a></li><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#contributing" class="sidebar-link">Contributing</a></li><li class="sidebar-sub-header"><a href="/line-bot-sdk-nodejs/#license" class="sidebar-link">License</a></li></ul></li></ul></div></li><li><div class="sidebar-group"><p class="sidebar-heading"><span>Getting Started</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/line-bot-sdk-nodejs/getting-started/requirements.html" class="sidebar-link">Requirements</a></li><li><a href="/line-bot-sdk-nodejs/getting-started/install.html" class="sidebar-link">Install</a></li><li><a href="/line-bot-sdk-nodejs/getting-started/basic-usage.html" class="sidebar-link">Basic Usage</a></li></ul></div></li><li><div class="sidebar-group"><p class="sidebar-heading"><span>Guide</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/line-bot-sdk-nodejs/guide/webhook.html" class="sidebar-link">Webhook</a></li><li><a href="/line-bot-sdk-nodejs/guide/client.html" class="sidebar-link">Client</a></li><li><a href="/line-bot-sdk-nodejs/guide/typescript.html" class="sidebar-link">TypeScript</a></li></ul></div></li><li><div class="sidebar-group"><p class="sidebar-heading"><span>API Reference</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/line-bot-sdk-nodejs/api-reference/client.html" class="sidebar-link">new Client(config)</a></li><li><a href="/line-bot-sdk-nodejs/api-reference/validate-signature.html" class="sidebar-link">validateSignature(body, channelSecret, signature)</a></li><li><a href="/line-bot-sdk-nodejs/api-reference/middleware.html" class="sidebar-link">middleware(config)</a></li><li><a href="/line-bot-sdk-nodejs/api-reference/exceptions.html" class="sidebar-link">Exceptions</a></li><li><a href="/line-bot-sdk-nodejs/api-reference/message-and-event-objects.html" class="sidebar-link">Message and event objects</a></li></ul></div></li><li><div class="sidebar-group"><p class="sidebar-heading"><span>Contributing</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/line-bot-sdk-nodejs/CONTRIBUTING.html" class="sidebar-link">How to contribute to LINE Bot SDK for Node.js</a></li></ul></div></li></ul> </div> <div class="page"> <div class="content"><h1 id="line-messaging-api-sdk-for-nodejs"><a href="#line-messaging-api-sdk-for-nodejs" aria-hidden="true" class="header-anchor">#</a> LINE Messaging API SDK for nodejs</h1> <p><a href="https://travis-ci.org/line/line-bot-sdk-nodejs" target="_blank" rel="noopener noreferrer"><img src="https://travis-ci.org/line/line-bot-sdk-nodejs.svg?branch=master" alt="Travis CI"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> <a href="https://www.npmjs.com/package/@line/bot-sdk" target="_blank" rel="noopener noreferrer"><img src="https://badge.fury.io/js/%40line%2Fbot-sdk.svg" alt="npmjs"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <h2 id="introduction"><a href="#introduction" aria-hidden="true" class="header-anchor">#</a> Introduction</h2> <p>The LINE Messaging API SDK for nodejs makes it easy to develop bots using LINE Messaging API, and you can create a sample bot within minutes.</p> <h2 id="documentation"><a href="#documentation" aria-hidden="true" class="header-anchor">#</a> Documentation</h2> <p>See the official API documentation for more information</p> <ul><li>English: https://developers.line.biz/en/docs/messaging-api/overview/</li> <li>Japanese: https://developers.line.biz/ja/docs/messaging-api/overview/</li></ul> <p>line-bot-sdk-nodejs documentation: https://line.github.io/line-bot-sdk-nodejs/#getting-started</p> <h2 id="requirements"><a href="#requirements" aria-hidden="true" class="header-anchor">#</a> Requirements</h2> <ul><li><strong>Node.js</strong> 8 or higher</li></ul> <h2 id="installation"><a href="#installation" aria-hidden="true" class="header-anchor">#</a> Installation</h2> <p>Using <a href="https://www.npmjs.com/" target="_blank" rel="noopener noreferrer">npm<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>:</p> <div class="language-bash extra-class"><pre class="language-bash"><code>$ <span class="token function">npm</span> <span class="token function">install</span> @line/bot-sdk --save
</code></pre></div><h2 id="help-and-media"><a href="#help-and-media" aria-hidden="true" class="header-anchor">#</a> Help and media</h2> <p>FAQ: https://developers.line.biz/en/faq/</p> <p>Community Q&A: https://www.line-community.me/questions</p> <p>News: https://developers.line.biz/en/news/</p> <p>Twitter: @LINE_DEV</p> <h2 id="versioning"><a href="#versioning" aria-hidden="true" class="header-anchor">#</a> Versioning</h2> <p>This project respects semantic versioning</p> <p>See http://semver.org/</p> <h2 id="contributing"><a href="#contributing" aria-hidden="true" class="header-anchor">#</a> Contributing</h2> <p>Please check <a href="/line-bot-sdk-nodejs/CONTRIBUTING.html">CONTRIBUTING</a> before making a contribution.</p> <h2 id="license"><a href="#license" aria-hidden="true" class="header-anchor">#</a> License</h2> <div class="language- extra-class"><pre class="language-text"><code>Copyright (C) 2016 LINE Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</code></pre></div></div> <div class="page-edit"><!----> <!----></div> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/line-bot-sdk-nodejs/getting-started/requirements.html">
Requirements
</a>
→
</span></p></div> </div> <!----></div></div>
<script src="/line-bot-sdk-nodejs/assets/js/4.0a538e22.js" defer></script><script src="/line-bot-sdk-nodejs/assets/js/app.beba238d.js" defer></script>
</body>
</html>