import media
Bring media into the library. By where the file is: the user’s files, one attached in conversation included, by link; one the caller made, fetched or can read on disk, file or presign; a public address, url. url: files or public Drive or Dropbox file links, up to 20 a call, deduped by content; caps 20MB image, 200MB video, 50MB audio, 25MB document. A download past about 20 seconds continues as queued with its job_id; get_jobs carries the item when ready. file: bytes in the call, base64, up to 3MB. link: a page the user opens to add files from a computer or phone; folder and timeline say where they go; anyone in the workspace with the link can use it; search_library upload_link with its link_id lists what came through it. Through the desktop app, link also opens that page in the app (opened), files added from disk, not uploaded; url serves a phone. presign: one signed URL per file for the caller to PUT, for the exact size, good for an hour; confirm registers them, up to 20 a call. Through the desktop app, local takes absolute paths, nothing uploaded. Free; a stored file’s search vectors use cloud processing.

