|
Zhamao Framework
3.0.0-beta1
A high-performance chatbot + web framework
|
Public 成员函数 | |
| __construct (string $bot_id, string $platform) | |
| getEvent () | |
| hasReplied () | |
| getBot (string $bot_id, string $platform='') | |
| sendMessage (\Stringable|array|MessageSegment|string $message, string $detail_type, array $params=[]) | |
| getEchoAction (mixed $echo) | |
| __construct | ( | string | $bot_id, |
| string | $platform | ||
| ) |
| getBot | ( | string | $bot_id, |
| string | $platform = '' |
||
| ) |
获取其他机器人的上下文操作对象
| string | $bot_id | 机器人的 self.user_id 对应的 ID |
| string | $platform | 机器人的 self.platform 对应的 platform |
| getEchoAction | ( | mixed | $echo | ) |
| getEvent | ( | ) |
| hasReplied | ( | ) |
返回是否已经调用过回复了
| sendMessage | ( | \Stringable|array|MessageSegment|string | $message, |
| string | $detail_type, | ||
| array | $params = [] |
||
| ) |