PHP code example of weiguoheng / tuling-robot
1. Go to this page and download the library: Download weiguoheng/tuling-robot library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
weiguoheng / tuling-robot example snippets
use think\Robot;
class Help
{
//使用帮助
public function index()
{
$reply = Robot::reply('你的appkey','你的秘钥','发送的消息');
}
}