upload_content
Upload large content in chunks by calling repeatedly with the same upload ID, then seal it for use as a message body. Enables sending documents too large for a single call.
Instructions
Upload a document in pieces, so a body too large to type in one call can still be sent. Call it repeatedly with the same 'upload_id' to append; call seal_content when the last piece is in. Then pass body_ref= to send_message, revise_message or pin_set instead of 'body'. Only the uploader may append; a sealed upload cannot be appended to; an append that would take the upload past 8 MiB of UTF-8 is refused. 'label' is at most 80 characters. A sealed upload has its own sha256 and both lengths, describing the document itself rather than the message that carries it. Returns the upload's current digest and upload_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| label | No | ||
| upload_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||