no message
This commit is contained in:
parent
342472501c
commit
4ada9a0a65
@ -25,7 +25,16 @@ final class HookController
|
|||||||
$this->sApiChatId = Config::obtain('telegram_chatid')
|
$this->sApiChatId = Config::obtain('telegram_chatid')
|
||||||
|
|
||||||
// 获取更新
|
// 获取更新
|
||||||
$update = json_decode(file_get_contents("php://input"), true);
|
@$update = json_decode(file_get_contents("php://input"), true);
|
||||||
|
|
||||||
|
$update = [
|
||||||
|
'message' => [
|
||||||
|
'chat' => [
|
||||||
|
'id' => '-4668400285'
|
||||||
|
],
|
||||||
|
'text' => '/reply 11 sss'
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
// 获取聊天 ID
|
// 获取聊天 ID
|
||||||
// $chatId = $update["message"]["chat"]["id"];
|
// $chatId = $update["message"]["chat"]["id"];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user