title: Send a message to a Telegram bot using PHP
body: <p>I'm trying to send a message to a Telegram Bot using CURL in this PHP code ... </p>
  
  <pre><code> &lt;?php
    $botToken="&lt;MY_DESTINATION_BOT_TOKEN_HERE&gt;";
  
    $website="https://api.telegram.org/bot".$botToken;
    $chatId=1234567;  //Receiver Chat Id
    $params=[
        'chat_id'=&gt;$chatId,
        'text'=&gt;'This is my message !!!',
    ];
    $ch = curl_init($website . '/sendMessage');
    curl_setopt($ch, CURLOPT_HEADER, false);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, ($params));
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    $result = curl_exec($ch);
    curl_close($ch);
  ?&gt;
  </code></pre>
  
  <p>The code runs with no error but no message is shown in my destination Telegram bot.</p>
  
  <p>The token is what the BotFather give me when I created my destination Telegram bot (<em>Use this token to access the HTTP API: <code>&lt;MY_DESTINATION_BOT_TOKEN&gt;</code></em>)</p>
  
  <p>Any suggestion will be appreciated ... </p>