mfrna/telegrambot
Composer 安装命令:
composer require mfrna/telegrambot
包简介
A Telegram Bot API Client package
README 文档
README
TelegramBot API
A composer package for Telegram bots API
Overview
Telegram Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.
To learn more about the Telegram Bot API, please consult the Introduction to Bots and Bot FAQ on official Telegram site.
This API library aims to making using the API as easy as reading the API Docs, every method is implemented identical to its description in the API docs and objects are autocreated from API responses.
If you have any questions, don't hesitate to contact me.
Usage
Install the pacakge
composer require mfrna/telegrambot
Use it!
use MFRNA\TelegramBot\API\Bot;
$bot = new BOT(YOUR_API_KEY);
$me = $bot->getMe();
echo $me->username;
As easy as that!
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-01