Answer the question
In order to leave comments, you need to log in
How to find callback_query_id in Telegram API?
Hello. Please tell me how to find out the callback_query_id? Where to get it from? What variable is it in?
Here is the function. I put callbackQuery.id there - it doesn't work.
module.exports = async function (bot, message, query) {
if (query.data === "wordsnormal") {
await message.send("Введите фразу исключение");
await message.user.update({
menu: "WordsBanTextNormal"
});
await bot.answerCallbackQuery(callbackQuery.id)
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question