title: Telegram Bots - How Can I create Reply Menus with icons like mypokerbot?
body: <p>I have a generic function to send menus via telegram bots (like below) , but I don't know how to add icons on these menus ( the way mypokerbot do, check image) . Any hint? </p>
  
  <pre><code>function SendGenericMenu ($chatid) {
  $lista=array("A", "B", "C");
  $text="Choose:";
  global $bottoken;
  $replyMarkup = array(
      'keyboard' =&gt; $lista,
  );
  $encodedMarkup = json_encode($replyMarkup);
  $content = array(
      'chat_id' =&gt; $chatid,
      'reply_markup' =&gt; $encodedMarkup,
      'text' =&gt; "$text"
  );
  
  $ch = curl_init();
  $url="https://api.telegram.org/bot$bottoken/SendMessage";
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($content));
  curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  
  // receive server response ...
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  
  $server_output = curl_exec ($ch);
  curl_close ($ch);
  var_dump($server_output);
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/fWmUx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fWmUx.jpg" alt="Example of Menu with icons on My Poker Bot"></a></p>