This commit is contained in:
hellcat 2025-03-20 22:30:34 +08:00
parent 5c7fc5d44f
commit f3e2ab1a9a

View File

@ -27,14 +27,14 @@ final class HookController
// 获取更新 // 获取更新
@$update = json_decode(file_get_contents("php://input"), true); @$update = json_decode(file_get_contents("php://input"), true);
$update = [ // $update = [
'message' => [ // 'message' => [
'chat' => [ // 'chat' => [
'id' => '-4668400285' // 'id' => '-4668400285'
], // ],
'text' => '/reply 11 sss' // 'text' => '/reply 11 sss'
] // ]
]; // ];
// 获取聊天 ID // 获取聊天 ID
// $chatId = $update["message"]["chat"]["id"]; // $chatId = $update["message"]["chat"]["id"];