diff --git a/src/main/java/ru/cathub/telegabot/service/impl/TelegramBotServiceImpl.java b/src/main/java/ru/cathub/telegabot/service/impl/TelegramBotServiceImpl.java index 72ed40f..d01efc9 100644 --- a/src/main/java/ru/cathub/telegabot/service/impl/TelegramBotServiceImpl.java +++ b/src/main/java/ru/cathub/telegabot/service/impl/TelegramBotServiceImpl.java @@ -7,6 +7,7 @@ import ru.cathub.telegabot.exception.ServiceException; import ru.cathub.telegabot.model.BotUser; import ru.cathub.telegabot.repository.UserRepository; import ru.cathub.telegabot.service.BookManageService; +import ru.cathub.telegabot.service.ProfileService; import ru.cathub.telegabot.service.TelegramBotService; import ru.cathub.telegabot.service.TelegramClientService; @@ -24,6 +25,9 @@ public class TelegramBotServiceImpl implements TelegramBotService { @Override public void processInput(BotUser botUser, String text) throws ServiceException { switch (text) { + case EDIT_PROFILE: + profileService.enterProfileEditingMode(botUser); + break; // case "Отправить текст ИИ": // sendMessage(chatId, "Введите ваш текст:"); // break;