title: how to add post reactions telegram bot node.js
body: <p>Can you help me? 
  I don't know how to add reactions as like\dislike to any message in my telegram bot with written by Node.JS</p>
  
  <p>The problem is I don't know how to change query.message.message_id because message_id every time is different on other chats. </p>
  
  <p>How to count like\dislike I don't know yet too. </p>
  
  <p>Can someone explain to me how to do it well? </p>
  
  <p>Thanks</p>
  
  <pre><code>bot.on('callback_query', query =&gt; {
  const chatID = query.message.chat.id
  
  switch (query.data) {
      case 'good':
          console.log(query)
  
          User.find({}).then(users =&gt; {
              for(var i=0; i &lt; users.length; i++){
                  var pars = users[i]
                  bot.editMessageReplyMarkup({
                      inline_keyboard: [
                          [
                              {
                                  text: '1',
                                  callback_data: 'good'
                              },
                              {
                                  text: '',
                                  callback_data: 'bad'
                              }
                          ]
                      ]
                  }, {chat_id: pars.telegramId, message_id: query.message.message_id}).catch(e =&gt; console.log(e))
              }
          })
  
          break
      case 'bad':
  
          break
  }
  </code></pre>
  
  <p>})</p>