From ec815e23e1f1503567f024ef6f5d1d62e133390c Mon Sep 17 00:00:00 2001 From: MaxNadeev Date: Wed, 27 Mar 2024 23:57:31 +0300 Subject: [PATCH] file_get_contents 4 --- sender.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sender.php b/sender.php index 6e7adfc..b5629ce 100644 --- a/sender.php +++ b/sender.php @@ -58,7 +58,7 @@ function sendTelegram($chat_id, $message, $apiToken) { ]; echo "2: ".$chat_id.$message.$apiToken; $response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?".http_build_query($data)); -} +}; sendTelegram($dev, $message, $apiToken);