igg-js-line-notify
v0.0.34
Published
Library For helping about line notify.
Downloads
14
Readme
Getting Started
You can find for more details, and other docs on website.
Installation
npm install igg-js-line-notify
or
yarn add igg-js-line-notify
API
authorizeUrl(clientId, redirectUri, state)
For get authorizeUrl usage :
iggLineNotify.authorizeUrl('12345667890', 'http://localhost:3000', '12345')
token(clientId, clientSecret, redirectUri, code)
For get line notify access token usage :
iggLineNotify.token('12345667890', '12345667890', 'http://localhost:3000', '12345667890')
send(token, message)
For send notify usage :
iggLineNotify.send('12345667890', 'hello')