title: Google App Script - Telegram Bot - callback_data of an inline_keyboard
body: <p>I don't want to use any library and i want to create the function that can react to a pressed botton of an inline_keyboard. I use webhook.</p>
  
  <p>The following code works great for incoming messages but I need help to add the callback_query data.</p>
  
  <pre><code>function doPost(e) {
  
    var data = JSON.parse(e.postData.contents);
  
    if(data.message){//working great
  
      var text = data.message.text;
      var id = data.message.from.id;
      sendText(id,text);
  
    }
  
    if(data.callback_data){//this part doesn't work and i need help for this.
      //no help needed here :)
    }
  
  }
  </code></pre>