title: telegram bot api pass empty inline_keyboard -> delete keyboard
body: <p>I'd like to use the methode <strong>editMessageReplyMarkup</strong> to get rid of my inline_keyboard buttons. I can get rid of them by passing the 'reply_markup' a json encoded keyboard like that:</p>
  <pre><code>        $k = ['inline_keyboard' =&gt; 
                 [
                   [   ]
                 ]
               ];
  </code></pre>
  <p>but as a result I get that error</p>
  <pre><code>Request has failed with error 400: Bad Request: object expected as reply markup
  </code></pre>
  <p>I tried a couple variants include not sending a 'reply_markup' at all as attribute to the methode, but I get the error &quot;Bad Request: object expected as reply markup&quot; or &quot;Bad Request: can't parse inline keyboard button: InlineKeyboardButton must be an Object&quot;.</p>
  <p>That is how I call the methode:</p>
  <pre><code>$bot-&gt;apiRequestJson(&quot;editMessageReplyMarkup&quot;, array(
              'chat_id'=&gt;$cb_chat_id,
              'message_id'=&gt;$cb_msg_id,
              'reply_markup' =&gt; json_encode($k)
              )); 
      
  </code></pre>
  <p>The function is taken from here: function taken from hellobot example <a href="https://core.telegram.org/bots/samples/hellobot" rel="nofollow noreferrer">https://core.telegram.org/bots/samples/hellobot</a></p>
  <p>And to prove my function is working, that results in a new inline keyboard without any error</p>
  <pre><code>$k = ['inline_keyboard' =&gt; [
      [
          ['text' =&gt; 'caption', 'callback_data' =&gt; 'test']
          ]
      ]];
  </code></pre>
  <p>Thanks for your help!</p>
  <p>Markus</p>