R
R
Ray Dostoyevsky2021-08-13 16:19:46
Python
Ray Dostoyevsky, 2021-08-13 16:19:46

How to overlay InlineKeyboardMarkup and ReplyKeyboardMarkup at the same time?

I am making a small bot in Telegram, I need to apply two keyboards at the same time, so that ReplyKeyboardMarkup (instead of the keyboard) is always there. Like here:

https://imagizer.imageshack.com/img924/4995/69JIuE.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
robprane, 2021-08-13
@RayProgrammer

You can only send one reply_markup with one message. You can create a ReplyKeyboardMarkup with a welcome message, and then add InlineKeyboardMarkup to the message where such a keyboard should be. The ReplyKeyboardMarkup will not disappear until you send a ReplyKeyboardRemove.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question