foxtes/botman-wazzup-driver
最新稳定版本:v1.1
Composer 安装命令:
composer require foxtes/botman-wazzup-driver
包简介
关键字:
README 文档
README
Requirements
- PHP 7.4 or higher
- Any http client with PSR-18 support
- Botman
Install driver
composer require foxtes/botman-wazzup-driver
Then you should define in the .env file the following properties:
WHATSAPP_PARTNER="https://api.wazzup24.com/v3/" WHATSAPP_TOKEN=your_token WHATSAPP_CHANEL_ID=your_chanel_id
If you don't use BotMan Studio, the driver should be applied manually:
// ... // Applying driver DriverManager::loadDriver(\BotMan\Drivers\WazzupDriver\WhatsAppDriver::class); // ...
Quick guide with examples
In usage examples, the used file is routes/botman.php.
$botman->hears('Hello', function ($bot) { $bot->reply('Hi, '.$bot->getUser()->getFirstName()); });
See also
License
Wazzup driver is made under the terms of MIT license. BotMan is free software distributed under the terms of the MIT license.
统计信息
- 总下载量: 667
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-21