11
This commit is contained in:
parent
5c7fc5d44f
commit
f3e2ab1a9a
@ -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"];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user