title: How to send Emoji with Telegram Bot API?
body: <p>I need to send messages containing emoji with my Telegram Bot.</p>
  
  <p>So I copy/paste emoji code <code>:nine:</code> for example, in my message text and send it to a user, BUT emoji didn`t work.</p>
  
  <p>This is my sample code and function:</p>
  
  <pre><code>function tel_send($key, $t, $c)
  {
      $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://api.telegram.org/bot" . $key . "/sendMessage");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_POST, true);
      curl_setopt($ch, CURLOPT_POSTFIELDS, "cache=" . (time() / rand(1, time() - 100)) . "&amp;text=" . $t . "&amp;chat_id=" . $c);
      $ss = curl_exec($ch);
      curl_close($ch);
      return $ss;
  }
  tel_send($key, "My number - :nine:", $val['message']['chat']['id']);
  </code></pre>
  
  <p>So, my question is: How can I send emoji by Telegram bot?</p>