N
N
NewTermos2020-05-11 15:50:43
Python
NewTermos, 2020-05-11 15:50:43

ReplyKeyboardRemove how to work?

Need to remove (not remove) the ReplyKeyboardMarkup keyboard after clicking. Construction use

keyboard = types.ReplyKeyboardRemove()
keyboard.row('Профиль', 'Контакты', 'Назад')

doesn't work, says the row method cannot be used for the given keyboard.

Question: how to implement the removal of the keyboard after clicking on it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Krostelev, 2020-05-11
@NewTermos

Pass your keyboard in the next message as the reply_markup=keyboard parameter

T
TTeratron, 2020-05-28
@TTeratron

see example:
https://groosha.gitbook.io/telegram-bot-lessons/ex...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question