Skip to content
Advertisement

Tag: slack-api

upload file with slackclient 2.x

I’m upgrading from slackclient 1.3.1 to 2.9.3 using this guide. before I had this function: which I tried to migrate to: the function is called with something like this: However, I get: Object of type ‘BufferedReader’ is not JSON serializable I am guessing it is related to the way I pass the file parameter. How should I be doing it?

Slack event API response using python flask

I am working with slack event API. I am getting events on the subscribed events. But how to send respond using python requests. slack sends the same event back again after few seconds what json I need to send back to slack as a response to stop getting the same response? If you know the code, thank you so much

Advertisement