slack-go/slack

Fetching file attachments

kirill-artamonov-form3 opened this issue · 3 comments

Description

We have emails sent to a Slack channels.
Those email have attachments that we want to read via API.

With GetConversationHistory and ListFiles, we have a link to download the email, but not the attachment.

(Optional) Slack's documentation

Somehow it's not documented on for a file type, but when examining JSON responses from Slack for both calls, I see that there's attachments attribute on the file object containing the link that we need.

@kirill-artamonov-form3
Please see Python, Node or Java SDK. If this field is added in these SDKs, you can assume that it is officially supported it, even if not documented.

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.