Answer the question
In order to leave comments, you need to log in
How to change keyboard in pyTelegramBotAPI telegram message?
How to change keyboard in pyTelegramBotAPI telegram message?
I have code:
markup_inline = types.InlineKeyboardMarkup()
item_1 = types.InlineKeyboardButton(text='-', callback_data='1')
item_yes= types.InlineKeyboardButton(text='да', callback_data='yes')
markup_inline .add(item_1,item_yes)
bot.send_message(message.chat.id,'1',reply_markup=markup_inline)
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