def menu_catalog():
conn = sqlite3.connect("base_ts.sqlite")
cursor = conn.cursor()
cursor.execute('SELECT * FROM catalog')
row = cursor.fetchall()
menu = types.InlineKeyboardMarkup(row_width=1)
for i in row:
menu.add(types.InlineKeyboardButton(text=f'{i[0]}', callback_data=f'{i[1]}'), types.InlineKeyboardButton(text=f'{i[0]}', callback_data=f'{i[1]}'))