After testing the answerCallbackQuery method with its associated buttons for long hours, I see in the console that it says the following:
node-telegram-bot-api deprecated The method signature answerCallbackQuery([options]) has been
deprecated since v0.29.0
There is some other method that handles or has the same functionality as answerCallbackQuery?
I also took a look at the documentation and I do not see anything about it
Thanks in advance
Very easy solution:
bot.answerCallbackQuery(message.id, {text: 'Your message'});
Deprecation message notify you that [options] param is deprecated, not all the function.
I'll try it and I'll tell you, thank you very much :stuck_out_tongue_winking_eye:
Most helpful comment
Very easy solution:
bot.answerCallbackQuery(message.id, {text: 'Your message'});Deprecation message notify you that [options] param is deprecated, not all the function.