code: public Response editPhoto(String galleryId, String photoId, String comment) throws JinxException {
      JinxUtils.validateParams(galleryId, photoId, comment);
      Map<String, String> params = new TreeMap<>();
      params.put("method", "flickr.galleries.editPhoto");
      params.put("gallery_id", galleryId);
      params.put("photo_id", photoId);
      params.put("comment", comment);
      return jinx.flickrPost(params, Response.class);
    }
docs: Edit the comment for a gallery photo.
  <br>
  This method requires authentication with 'write' permission.
  
  @param galleryId Required. The ID of the gallery containing the photo. Note: this is the compound ID returned in methods like flickr.galleries.getList, and flickr.galleries.getListForPhoto.
  @param photoId   Required. The photo ID in the gallery whose comment to edit.
  @param comment   Required. The updated comment for the photo.
  @return object with response from Flickr indicating ok or fail.
  @throws JinxException if required parameters are null or empty, or if there are any errors.
  @see <a href="https://www.flickr.com/services/api/flickr.galleries.editPhoto.html">flickr.galleries.editPhoto</a>