using this php gives error 500, any help is appreciated.
what i want is to make the below URL behave like--- api.telegram.org/bot1A/sendMessage?chat_id=@mychannel&text=Hellow
<?php
$msg= Hellow
$response = file_get_contents("https://api.telegram.org/bot1A/sendMessage?chat_id=@mychannel&text=".echo $msg->plaintext; );
// Do what you want with result
?>