0.6.0 • Published 2 years ago

@machinat/line v0.6.0

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

Line Platform

Receive events and send messages through LINE messaging API.

Install

npm install @machinat/core @machinat/http @machinat/line
# or with yarn
yarn add @machinat/core @machinat/http @machinat/line

Docs

Check the platform document and the package reference.

Setup

import Machinat from '@machinat/core';
import Http from '@machinat/http';
import Line from '@machinat/line';

const {
  LINE_PROVIDER_ID,
  LINE_CHANNEL_ID,
  LINE_ACCESS_TOKEN,
  LINE_CHANNEL_SECRET,
} = process.env;

const app = Machinat.createApp({
  modules: [
    Http.initModule({ /* ... */ }),
  ],
  platforms: [
    Line.intiModule({
      webhookPath: '/webhook/line',
      providerId: LINE_PROVIDER_ID,
      channelId: LINE_CHANNEL_ID,
      accessToken: LINE_ACCESS_TOKEN,
      channelSecret: LINE_CHANNEL_SECRET,
    }),
  ],
});
0.6.0-beta.4

2 years ago

0.6.0

2 years ago

0.6.0-beta.0

3 years ago

0.6.0-canary.2

3 years ago

0.6.0-canary.0

3 years ago

0.6.0-canary.3

3 years ago

0.5.0-beta.10

3 years ago

0.5.0-beta.15

3 years ago

0.5.0-beta.13

3 years ago

0.5.0-beta.14

3 years ago

0.5.0-beta.22

3 years ago

0.5.0-beta.23

3 years ago

0.5.0-beta.20

3 years ago

0.5.0-beta.27

3 years ago

0.5.0-beta.25

3 years ago

0.5.0-beta.28

3 years ago

0.5.0-beta.29

3 years ago

0.5.0

3 years ago

0.5.0-beta.33

3 years ago

0.5.0-beta.34

3 years ago

0.5.0-beta.31

3 years ago

0.5.0-beta.32

3 years ago

0.5.0-beta.37

3 years ago

0.5.0-beta.38

3 years ago

0.5.0-beta.36

3 years ago

0.5.0-beta.40

3 years ago

0.5.0-beta.41

3 years ago

0.5.0-beta.44

3 years ago

0.5.0-beta.43

3 years ago

0.5.0-beta.7

3 years ago

0.5.0-beta.4

3 years ago

0.5.0-beta.1

3 years ago

0.5.0-beta.0

3 years ago

0.4.1-alpha.50

3 years ago

0.4.1-alpha.49

3 years ago

0.4.1-alpha.47

3 years ago

0.4.1-alpha.46

3 years ago

0.4.1-alpha.42

3 years ago

0.4.1-alpha.44

3 years ago

0.4.1-alpha.41

3 years ago

0.4.1-alpha.38

3 years ago

0.4.1-alpha.37

3 years ago

0.4.1-alpha.36

3 years ago

0.4.1-alpha.35

3 years ago

0.4.1-alpha.34

3 years ago

0.4.1-alpha.33

3 years ago

0.4.1-alpha.32

3 years ago

0.4.1-alpha.31

3 years ago

0.4.1-alpha.29

3 years ago

0.4.1-alpha.28

3 years ago

0.4.1-alpha.27

3 years ago

0.4.1-alpha.21

4 years ago

0.4.1-alpha.18

4 years ago

0.4.1-alpha.14

4 years ago

0.4.1-alpha.13

4 years ago

0.4.1-alpha.12

4 years ago

0.4.1-alpha.11

4 years ago

0.4.1-alpha.10

4 years ago

0.4.1-alpha.8

4 years ago

0.4.1-alpha.7

4 years ago

0.4.1-alpha.6

4 years ago

0.4.1-alpha.5

4 years ago

0.4.1-alpha.4

4 years ago

0.4.1-alpha.3

4 years ago

0.4.1-alpha.1

4 years ago

0.4.0-beta.6

4 years ago

0.4.0-beta.4

4 years ago

0.4.0-beta.3

4 years ago

0.4.0-beta.1

4 years ago

0.4.0-beta.0

4 years ago

0.3.0-beta.3

4 years ago

0.3.0-beta.2

4 years ago

0.3.0-beta.1

4 years ago

0.3.0-beta.0

4 years ago

0.2.0-beta.0

4 years ago