Skip to content

slack_sdk files_upload_v2 - thread_ts support #1591

@dinesh-tt

Description

@dinesh-tt

Hello Slack team,

I am using python slack_sdk library to upload file to a channel, which works fine.

How do I upload file to a thread_ts? I was referring to https://tools.slack.dev/python-slack-sdk/web#files link and could not find a reference for thread_ts.

please advise how to provide thread_ts to client.files_upload_v2 where client is WebClient from slack_sdk.

Please let me know if any more information is required.

testing in:

slack_sdk==3.33.3

Python 3.9.12

>uname -a
Linux gld1vm27 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue May 14 11:55:25 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux

The Slack SDK version

slack_sdk==3.33.3

Python runtime version

Python 3.9.12

OS info

Ubuntu 22.04

Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue May 14 11:55:25 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce:

please advise how to provide thread_ts to client.files_upload_v2 where client is WebClient from slack_sdk.

Expected result:

to post to a thread referrenced by thread_ts

Actual result:

checking if the api is supported.

Requirements

For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Metadata

Metadata

Assignees

Labels

Version: 3xdocsM-T: Documentation work onlyquestionM-T: User needs support to use the projectweb-client

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions