title: Telegram Bot Inline Keyboard not displaying PHP
body: <p>The following code works, it adds custom keyboard keys 'Button1' and 'Button2' </p>
  
  <pre><code>$keyboard = [
                'keyboard' =&gt; [['Button1'],['Button2']],
                'resize_keyboard' =&gt; true,
                'one_time_keyboard' =&gt; true,
                'selective' =&gt; true
              ];
  
  $keyboard = json_encode($keyboard, true);
  
  $sendto = API_URL."sendmessage?chat_id=".$chatID."&amp;text=".$reply."&amp;parse_mode=HTML&amp;reply_markup=$keyboard";
  </code></pre>
  
  <p>I need to use Inline Keyboard though for my purposes, but I haven't been able to get it to work</p>
  
  <pre><code>$keyboard = [
               'inline_keyboard' =&gt; [['Button1' =&gt;  'test', 'callback_data' =&gt; 'test'],
              ];
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$keyboard = [                       
               'inline_keyboard' =&gt; [['Button1' =&gt;  'test'],['callback_data' =&gt; 'test']],
              ];
  </code></pre>
  
  <p>doesn't work. I would really appreciate if anyone has a working example or can point out what is wrong in my example.</p>
  
  <p>Link to documentation: <a href="https://core.telegram.org/bots#inline-keyboards-and-on-the-fly-updating" rel="noreferrer">https://core.telegram.org/bots#inline-keyboards-and-on-the-fly-updating</a></p>