Simple lib for simple (or not) Telegram bots.
In your script just include that file and start class in some var.
<?php
include 'tgLib.php';
$bot = new tgBot('MY TOKEN IS HERE!');
?>
- request('method', ['parametrs' => 'here']) - requesting methods with params.
- reply($chat, "Text is here!") - replying.
- Another functions you can see in example or just look in lib's Wiki!