feat: Add profile editing mode case in Telegram bot service
This commit is contained in:
@@ -56,11 +56,7 @@ public class TelegramBotServiceImpl implements TelegramBotService {
|
||||
bookManageService.processBookInput(botUser,text);
|
||||
break;
|
||||
case EDIT_PROFILE:
|
||||
try {
|
||||
profileService.handleProfileUpdate(botUser, text);
|
||||
} catch (ServiceException e) {
|
||||
telegramClientService.sendMessage(botUser, e.getMessage(), KeyboardHelper.getProfileMenuKeyboard());
|
||||
}
|
||||
profileService.handleProfileUpdate(botUser, text);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user