From 30973144c1b28a2d774d4bc991b5323fdb9a0f83 Mon Sep 17 00:00:00 2001 From: MaxNadeev Date: Thu, 28 Mar 2024 00:22:57 +0300 Subject: [PATCH] file_get_contents 12 --- sender.php | 1 - 1 file changed, 1 deletion(-) diff --git a/sender.php b/sender.php index fe16175..cb1af10 100644 --- a/sender.php +++ b/sender.php @@ -53,7 +53,6 @@ function sendTelegram($chat_id, $message, $apiToken) { 'text' => $message, 'parse_mode' => 'HTML' ]; - echo "data: ".$data["chat_id"].$data["text"].$data["parse_mode"]; $response = file_get_contents("https://api.telegram.org/bot".substr($apiToken, 0, -1)."/sendMessage?".http_build_query($data)); };