files_upload_v2() isn't sending files while files_upload() is
JBrowder opened this issue · 1 comments
JBrowder commented
Reproducible in:
The Slack SDK version
slack-sdk==3.20.0
Python runtime version
Python 3.11.1
OS info
10.0.22621.2134
Steps to reproduce:
result = slack_client.files_upload_v2(
channel=user_id,
initial_comment="Here's my file :smile:",
file=file_name
)
Expected result:
I receive direct message from my bot with the file I'm trying to send.
Actual result:
I don't receive the file, but result["ok"]
is True
.
If I use the .files_upload()
the expected result is achieved.
JBrowder commented
It has come to my attention this was resolved with 3.20.1