Skip to content

TyperEJ/LineNotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LineNotify

composer require typerej/line-notify dev-master --prefer-dist

GENERATE URL

use TyperEJ\LineNotify\Notify;

$notify = new Notify(CHANNEL_ID);
$url = $notify->generateSubscribeUrl($options);

GET TOKEN

use TyperEJ\LineNotify\Notify;

$notify = new Notify(CHANNEL_ID,CHANNEL_SECRET);
$token = $notify->requestToken($_GET('code'));

PUSH MESSAGE

use TyperEJ\LineNotify\Notify;
use TyperEJ\LineNotify\Message;

$message = new Message('Notify Text');
Notify::sendMessage($token,$message);

REFERENCE

https://notify-bot.line.me/doc/en/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages