title: How to sendmessage after answercallbackquery in Telegram?
body: <p>I'm trying to develop a Telegram Bot in PHP, but I failed to make my bot answer the user when he press an inline button.<br />
  Can someone help me sending a message (<code>sendMessage</code> method) after calling the <code>answerCallback</code> method?</p>
  <p>Here's my last trial code:</p>
  <pre><code>if ($call_back_query != null) {
      
      $response = $call_back_query;
      $botUrl = &quot;https://api.telegram.org/bot&quot; . BOT_TOKEN . &quot;/answerCallbackQuery&quot;;
      $postFields = array('callback_query_id' =&gt;  $call_back_id, 'text' =&gt; $response);
      $ch = curl_init(); 
      curl_setopt($ch, CURLOPT_HTTPHEADER, array(&quot;Content-Type:multipart/form-data&quot;));
      curl_setopt($ch, CURLOPT_URL, $botUrl); 
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
      curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields);
      $output = curl_exec($ch);
      
      //send Text
      $response = &quot;help me if you can, i'm feeling down&quot;;
      header(&quot;Content-Type: application/json&quot;);
      $parameters = array('chat_id' =&gt; $chatId, &quot;text&quot; =&gt; $response);
      $parameters[&quot;method&quot;] = &quot;sendMessage&quot;;
      echo json_encode($parameters);                
    }
  </code></pre>