Naltox / telegram-node-bot

Node module for creating Telegram bots.
MIT License
721 stars 143 forks source link

Answering callback query? #88

Closed VitaliyR closed 8 years ago

VitaliyR commented 8 years ago

Hello. It is still not clear how to handle callbacks from inline buttons. In each callback I'm using

callback: cb => {
  $.api.answerCallbackQuery(cb.id)
}

so the button in Telegram will stop 'spinning'.

Are there any solution out the box to not write that answerCallbackQuery each time?

kamikazechaser commented 8 years ago

63 This issue has already been discussed and sorted out.

VitaliyR commented 8 years ago

Is this a solution - each time I should write it? Really? For each button?