def add_2(message, chat_id, action):
if message.text in menu.asortiment:
drug = functions.Drug(chat_id, message.text)
if drug.drug == '1' or drug.drug == '2' or drug.drug == '3':
weight = menu.weight_drug
elif drug.drug == ' 4 ':
weight = menu.weight_drug_3
else:
weight = menu.weight_drug_2
msg = bot.send_message(chat_id, 'Выберите .', None, None, weight)
bot.register_next_step_handler(msg, add_3, chat_id, drug, action)
start_add_command(message, True, True, True)
import telebot.types
from telebot.types import ReplyKeyboardMarkup, InlineKeyboardMarkup, InlineKeyboardButton, KeyboardButton
weight_goods = ReplyKeyboardMarkup(True, True)
weight_goods.add(KeyboardButton('1'),
KeyboardButton('2'),
KeyboardButton('3'),
KeyboardButton('4'),
KeyboardButton('5'),
KeyboardButton('Большая'),
KeyboardButton('Назад')
)