Files
zhamao-framework/src/ZM/Context/Context.php
2022-08-14 18:15:45 +08:00

24 lines
693 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
declare(strict_types=1);
namespace ZM\Context;
use ZM\Context\Trait\HttpTrait;
/**
* 下面是机器人类的方法
* @method reply($message) 快速回复消息
* @method action(string $action, array $params = []) 执行动作
* @method getArgument(string $name) 获取BotCommand的参数
* @method getRawArguments() 获取裸的参数
* @method getBotEvent(bool $array = false) 获取事件原对象
* @method getBotSelf() 获取机器人自身的信息
*/
class Context implements ContextInterface
{
use HttpTrait;
// TODO完善上下文的方法们
}