title: answerCallbackQuery telegram api
body: <p>I use this extention for telegram bot api <a href="https://github.com/irazasyed/telegram-bot-sdk" rel="nofollow noreferrer">irazasyed</a>. When I click on inlineKeyboard there is sign of awainting <a href="http://joxi.ru/8An9DjpFqPwzP2" rel="nofollow noreferrer">example</a>. I add answerCallbackQuery method for fix that</p>
  
  <pre><code>$id = $request['callback_query']['id'];
  $keyboard = new KeyboardController();
  $keyboard-&gt;selectLanguage($chatid, $bot_name);
  try{
  
              $message = new SendMessageController();
              $message-&gt;sendMessage($chatid,$id,$bot_name);
              $telegram = new Api();
              $telegram-&gt;answerCallbackQuery([
                  'callback_query_id' =&gt; $id,
              ]);
          }
          catch (\Exception $e)
          {
              $message = new SendMessageController();
              $message-&gt;sendMessage($chatid,$e-&gt;getMessage(),$bot_name);
          }
  </code></pre>
  
  <p>I get in message <code>$id</code>(from <code>try</code>) but from block <code>catch</code> I get error <code>Bad Request: QUERYIDINVALID</code>. How can I fix that?</p>