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 = [
'message' => [
'chat' => [
'id' => '-4668400285'
],
'text' => '/reply 11 sss'
]
];
// $update = [
// 'message' => [
// 'chat' => [
// 'id' => '-4668400285'
// ],
// 'text' => '/reply 11 sss'
// ]
// ];
// 获取聊天 ID
// $chatId = $update["message"]["chat"]["id"];