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
{{ message }}
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
Uploading and sharing an image does only work partially:
The message is created in the channel. The linked title shows the picture if I click it.
However, the picture itself is not shown directly in the message as well as the private file is not listed as "shared file" in the slack web interface. Instead it is listed as private file and I can share it manually which works fine.
After endless tries my conclusion is that there must be a bug.
I've solved the problem by switching to https://github.com/slackapi/python-slackclient
Here the issue was solve within a minute, because I only need to upload the file slack.api_call('files.upload', channels='#general', filename='pic.png', file=open(filename, 'rb'))
In the slack channel the new upload is mentioned automatically and it's content is unfurled.
reisenmachtfreude
changed the title
Share uploaded image does not work
Unfurl uploaded image does not work
Oct 29, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uploading and sharing an image does only work partially:
The message is created in the channel. The linked title shows the picture if I click it.
However, the picture itself is not shown directly in the message as well as the private file is not listed as "shared file" in the slack web interface. Instead it is listed as private file and I can share it manually which works fine.
I'm using the following code:
Please help.
The text was updated successfully, but these errors were encountered: