You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/packages/web-api.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -501,6 +501,9 @@ of binary data follow soon!
501
501
The `channel_id` and `initial_comment` aren't required, but the file either won't be shared to a channel or it won't be
502
502
posted with a message if these aren't included.
503
503
504
+
A posted message can be formatted with [Block Kit](https://docs.slack.dev/block-kit) using the `blocks` argument instead
505
+
of the `initial_comment` text.
506
+
504
507
In a successful response, the `result.files` contains an array of [shared files](https://api.slack.com/types/file).
505
508
These files are "private" and available to just the `token` holder if no `channel_id` is included in the request, and
506
509
are marked "public" when shared to a provided `channel_id`.
0 commit comments