event for all responses to slack server
Is there a way to get an event payload for all view.open/updated/closed events?
Error When Sending Files via DM with Slack’s files_upload_v2()
Slack recommends migrating from files_upload()
to files_upload_v2()
for stability relating to large files. However, this change means that you can no longer use something like client.files_upload_v2(channel='@user.name', file=file)
. You can only send to a channel referenced by a channel ID. Is there a way to use the v2 function to send files as a DM (which would appear in the bot’s Messages channel)? The details on v2 are explained here.