Skip to content

Commit 4f52366

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2025/03/05
1 parent 1d3c09c commit 4f52366

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

methods/files/files.completeUploadExternal.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
"desc": "Array of file ids and their corresponding (optional) titles.",
1111
"type": "array"
1212
},
13+
"blocks": {
14+
"required": false,
15+
"example": "[{\"type\": \"section\", \"text\": {\"type\": \"plain_text\", \"text\": \"Hello world\"}}]",
16+
"desc": "A JSON-based array of structured blocks, presented as a URL-encoded string. If the initial_comment field is provided, the blocks field is ignored.",
17+
"type": "blocks[] as string",
18+
"format": "json"
19+
},
1320
"channel_id": {
1421
"required": false,
1522
"example": "C0NF841BK",
@@ -48,6 +55,7 @@
4855
"not_in_channel": "User/bot membership is required for the specified channel.",
4956
"posting_to_channel_denied": "User is not authorized to post to channel.",
5057
"channels_limit_exceeded": "Exceeded the channel limit. A maximum of 100 channels is allowed per request.",
58+
"invalid_blocks": "Provided blocks are in the incorrect format.",
5159
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
5260
"deprecated_endpoint": "The endpoint has been deprecated.",
5361
"ekm_access_denied": "Administrators have suspended the ability to post a message.",

0 commit comments

Comments
 (0)