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 was archived by the owner on Jul 3, 2020. It is now read-only.
Repository navigation
This repository was 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.
Activity
reisenmachtfreude commentedon Oct 29, 2017
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.
[-]Share uploaded image does not work[/-][+]Unfurl uploaded image does not work[/+]