no message

This commit is contained in:
hellcat 2025-03-20 23:03:51 +08:00
parent 926ec82db1
commit 64370436a6

View File

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