huddo_download
Save the attachments of a message to a local directory (default: $HUDDO_HOME/downloads) and return the file paths. Works for any message in the room's history; files downloaded before come from the local store without contacting the…
Instructions
Save the attachments of a message to a local directory (default: $HUDDO_HOME/downloads) and return the file paths. Works for any message in the room's history; files downloaded before come from the local store without contacting the server. Existing files are never overwritten; a numbered copy is written instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Identity slug to act as (default: the active identity) | |
| room | No | roomId or index from huddo_list, for this call only (default: the default room) | |
| msgid | Yes | Message id (msg_...) with the attachments | |
| out_dir | No | Directory (default: $HUDDO_HOME/downloads) |