feat: Add profile editing mode case in Telegram bot service

This commit is contained in:
2025-02-13 16:52:29 +03:00
committed by Sanders
parent dc10492524
commit e42d50b444
@@ -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;