code: public CommentAdd addComment(String photosetId, String comment) throws JinxException {
      JinxUtils.validateParams(photosetId, comment);
      Map<String, String> params = new TreeMap<>();
      params.put("method", "flickr.photosets.comments.addComment");
      params.put("photoset_id", photosetId);
      params.put("comment_text", comment);
      return jinx.flickrPost(params, CommentAdd.class);
    }
docs: Add a comment to a photoset.
  <br>
  This method requires authentication with 'write' permission.
  
  @param photosetId id of the photoset to add a comment to.
  @param comment    text of the comment.
  @return object with the newly created comment's ID.
  @throws JinxException if parameters are null or empty, or if there are any errors.
  @see <a href="https://www.flickr.com/services/api/flickr.photosets.comments.addComment.html">flickr.photosets.comments.addComment</a>