优化机器人

This commit is contained in:
kuaifan
2023-02-14 15:45:25 +08:00
parent 2307f36db0
commit e1456b72fb
2 changed files with 6 additions and 2 deletions

View File

@@ -324,8 +324,10 @@ class BotReceiveMsgTask extends AbstractTask
Ihttp::ihttp_post($userBot->webhook_url, [
'text' => $pureText,
'token' => User::token($botUser),
'msg_id' => $msg->id,
'dialog_id' => $msg->dialog_id,
'msg_id' => $msg->id,
'msg_uid' => $msg->userid,
'bot_uid' => $botUser->userid,
'version' => Base::getVersion(),
], 10);
}