How to add multilevel menu in the cart?

How to add to cart mnogourovnevye keyboard so that when you click on My Creator climbs new keyboard with buttons "VC" and "Cart" with the option to back out with python
Water code
import telebot
import config
import random
import time
import pyowm

from random import choice
from telebot import types

owm = pyowm.OWM(config.owmm, language = "EN")

observation = owm.weather_at_place(
w = observation.get_weather()

temp = w.get_temperature('celsius')["temp"] 

adv = ['In development']
Creator = 'created Me Ilya Bugaets'
groups = ['Creator', 'Moder', 'Assistant', 'Death']

bot = telebot.TeleBot(config.TOKEN)

def send_welcome(message):

 markup = types.ReplyKeyboardMarkup(resize_keyboard=True)
 item1 = types.Keyboardbutton To ("☁This Weather☁App")
 item2 = types.Keyboardbutton to("My Creator")
 item3 = types.Keyboardbutton To("Test")

 markup.add(item1, item2, item3)

 bot.send_message(, "Hello, {0.first_name}!\the five - <b>{1.first_name}</b>".format(message.from_user, bot.get_me()),
 parse_mode='html', reply_markup=markup)

def welcome_help(message):
 bot.send_message(, Creator)

def welcome_help(message):
 bot.send_message(, groups)

def lalka(message):
 if == 'private':
 if message.text = = "☁this Weather☁on!!!":
 bot.send_message( "In Sudak is now" + w.get_detailed_status() + "\n" + "Temperature in the area of" + str(temp))
 elif == 'private':
 if message.text == "My Creator":
 bot.send_message(, Creator)

bot.polling( none_stop=True )
April 7th 20 at 10:43
1 answer
April 7th 20 at 10:45
The idea is to use InlineKeyboardMarkup with callback_data , the communication of the bot is ReplyKeyboardMarkup and editing messages edit_message_text when you press the button by the user.
InlineKeyboardMarkup attached to the message, and I need to instead of the first menu to the second - gennaro commented on April 7th 20 at 10:48

Find more questions by tags Python