Skip to content

Commit

Permalink
file_get_contents 4
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxNadeev committed Mar 27, 2024
1 parent 52ad773 commit ec815e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sender.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ec815e2

Please sign in to comment.