ReplyMarkup in php telegram bot
<p>I have problem with my telegram bot.I want to make Keybaord for my bot. When I run my telegram api url from my browser it works:</p>

<pre><code>     https://api.telegram.org/mybottoken/sendmessage?chat_id=93119306&amp;text=something&amp;reply_markup={"keyboard":[["Yes","No"],["Maybe"],["1","2","3"]], "one_time_keyboard":true};
</code></pre>

<p><strong>but</strong></p>

<p>When I want run to this url($sendto Variable) in my php file this not work.
my php code is:</p>

<pre><code>&lt;?php 
define('BOT_TOKEN', '183690241:AAHgluc7D9g0DF_InurfBj2YdBgPE7fmymo');
define('API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/');
    $array = array(); 
// read incoming info and grab the chatID
$content = file_get_contents("php://input");
$update = json_decode($content, true);
$chatID = $update["message"]["chat"]["id"];
$chatText = $update["message"]["text"]; 
// compose reply
$reply =  sendMessage();

// send reply
$sendto =API_URL."sendmessage?chat_id=".$chatID."&amp;text=".$reply."&amp;reply_markup={"keyboard":[["Yes","No"],["Maybe"],["1","2","3"]], "one_time_keyboard":true};

file_get_contents($sendto);
function sendMessage(){
     global $chatID;
     global $chatText;
     if ($chatText =="/start") {
         $message = "Salam - Roboate Megat Hastam";
     }
     elseif ($chatText =="Khoobi?") {
         $message = "Merc -  Shomaa khobi?";
     }
       elseif ($chatText =="Chand salete?") {
         $message = "Be Tu Che!";
     }
 else
     {
         $message = "No Command";
     }


return rawurlencode($message);
}
?&gt;
</code></pre>

<p>please help where i made mistake.
thanks all guys.</p>