diff --git a/sender.php b/sender.php index 2d161c0..3eb1884 100644 --- a/sender.php +++ b/sender.php @@ -49,7 +49,7 @@ function sendTelegram($chat_id, $message, $apiToken) { $data = [ - 'chat_id' => substr($chat_id, 0, -2), + 'chat_id' => $chat_id, 'text' => substr($message, 0, -1), 'parse_mode' => 'HTML' ];