You say#files.completeUpload
files.completeUpload
Finish uploads and share the files in a conversation, with an optional message.
POST https://app.slaiky.xyz/api/methods/files.completeUpload · needs files:write
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
files | array of object | yes | Up to 10 items. |
channel | string | no | Channel id, or "#name" for channels. 1–81 characters. |
text | string | no | Message text (Markdown). May be empty when blocks are sent. Up to 40,000 characters. |
threadId | id | no |
Answer
{ "ok": true, … } with: files: File[], message: Message \| null. A refusal is { "ok": false, "error": { "code", "message" } } (errors).
Example
The required arguments, with placeholders in angle brackets.
curl -s https://app.slaiky.xyz/api/methods/files.completeUpload \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{"files":[]}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.