cu/linebot

This package is abandoned and no longer maintained. No replacement package was suggested.

dev-master 2016-04-08 09:49 UTC

This package is not auto-updated.

Last update: 2018-04-11 20:24:33 UTC


README

a simple line bot api client. (for trial api / unofficial)

Install

$ composer require cu/linebot:dev-master

Usage

$bot = CU\LineBot("<Channel ID>", "<Channel Secret>", "<Channel MID>", "<Endpoint URL>");
$bot->isValid(); // true only if signature was valid.
$bot->sendText("<to>", "<text>"); // send text message.
$bot->postEvents($events);