Как изменять количество InlineKeyboardButton в InlineKeyboardMarkup?
def funcion():
a = ['1', '1'], ['2', '2'], ['3', '3']
b = []
for c in a:
b.append(InlineKeyboardButton(text = c[0], callback_data = c[1]))
return InlineKeyboardMarkup(row_width=1).add(b)