ateliee/lineapi

1.0.0 2016-08-07 02:30 UTC

This package is auto-updated.

Last update: 2024-10-29 04:47:39 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);