T
T
Tim2452020-11-29 18:13:00
Python
Tim245, 2020-11-29 18:13:00

How to make ReplyKeyboardMarkup without text?

How do I send a ReplyKeyboardMarkup without text, just a button with a message here is the code if just removing the text will not work

user_mark_id = telebot.types.ReplyKeyboardMarkup(True, True)

                user_mark_id.row('Мои товары')
                bot.sen
                bot.send_message(message.from_user.id,
                                "",
                                reply_markup=user_mark_id)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-11-29
@Tim245

No way. Text is a required field from 1 to 4096 characters.
https://core.telegram.org/bots/api#sendmessage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question