Answer the question
In order to leave comments, you need to log in
How to hide keyboard on button click?
In the telegram bot, I want to display a message with an inline keyboard by clicking on the button, but hide the main one
bot.sendMessage(userId, sendResumeExample, {
reply_markup: {
remove_keyboard: true,
inline_keyboard: [
[{text: 'Пустой шаблон', callback_data: 'blankResumeTemplate;' + userId}],
]
}
});
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