Function catbox::album::create

source ·
pub async fn create<S: Into<String>>(
    title: S,
    desc: S,
    user_hash: Option<S>,
    files: Vec<S>
) -> Result<String, Box<dyn Error>>
Expand description

Create a new album

Returns an URL to the created album

Arguments

  • title - Album title
  • desc - Album description
  • user_hash - User’s account hash, required for deleting or editing. (Optional)
  • files - List of existing files on Catbox to be added to the album