$BOT_TOOKEN = '-------------token from bot father ------------';
$to = тид получателя;
$message = 'that you need ';
$parameters = array('chat_id' => $to, 'parse_mode' => 'HTML', "text" => $message);
$url = "https://api.telegram.org/bot" . trim($BOT_TOOKEN) . '/sendMessage?' . http_build_query($parameters);
$handle = curl_init($url);
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($handle, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($handle, CURLOPT_TIMEOUT, 60);
$response = curl_exec($handle);