@Override public ClapResponse saveInfoMessage(final InfoMessageRequest request) { LOGGER.debug("saving logs bunch message " + request); login(request.getToken()); messagesService.saveMessage(request.getVariantHash(), request.getMessage()); LOGGER.debug(request + "saved"); return new ClapResponse(); }
public Response getScreenshot(final long messageId) { final File screenshot = messagesService.getScreenshot(messageId); return returnImage(screenshot); }