def client_panel(call): bot.edit_message_text(const.welcome_client, chat_id=call.message.chat.id, message_id=call.message.message_id) bot.send_message(chat_id=call.message.chat.id, text='...', reply_markup=markups.start1())
def start(message): base.add_user(message) if base.is_seller(message.from_user.id): bot.send_message(message.chat.id, const.welcome_celler, reply_markup=markups.start()) else: bot.send_message(message.chat.id, const.welcome_client, reply_markup=markups.start1())
def client_panel(message): bot.send_message(message.chat.id, u'Выберите категорию:', reply_markup=markups.start1())