A
A
Andrey2019-06-19 14:52:57
Bots
Andrey, 2019-06-19 14:52:57

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}],
               ]
            }
         });

How can this be implemented? the main keyboard is not removed (

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question