ammarfaizi2/bot-telegram

Telegram机器人

0.0.1 2017-06-11 09:15 UTC

This package is not auto-updated.

Last update: 2024-09-15 03:18:57 UTC


README

非官方的Telegram API包装PHP

Swag logo

安装

composer install

概览

require __DIR__ . '/vendor/autoload.php';
use Telegram\Bot\Client;
$bot = new Client('BOT_TOKEN');
$bot->sendMessage('hello world','1234'); // message, to

发布历史

  • 0.0.1
    • 进行中

许可协议

在GPL许可证下分发。有关更多信息,请参阅LICENSE文件。

贡献

  1. 分叉它
  2. 创建您的功能分支(git checkout -b feature/fooBar
  3. 提交您的更改(git commit -am '添加一些fooBar'
  4. 推送到分支(git push origin feature/fooBar
  5. 创建新的Pull Request