ateliee/lineapi

1.0.0 2016-08-07 02:30 UTC

This package is auto-updated.

Last update: 2020-09-29 14:58:30 UTC


README

a simple line bot api .

Install

$ composer require ateliee/linebot:dev-master

Usage

$bot = Ateliee\LineApi("<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);