Answer the question
In order to leave comments, you need to log in
How to track the button click event in the telegram bot?
Hello. I am writing a Node.js bot for telegram. With the help of the following code, I made such a button:
const opt = {
parse_mode: 'markdown',
disable_web_page_preview: false,
reply_markup: JSON.stringify({
keyboard: ,
resize_keyboard: true
})
};
app.sendMessage(id, 'text', opt)
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