Channel to fetch thread from
Unique identifier of a thread's parent message
async
(params, auths) => {
}
//See the API docs here: https://api.slack.com/methods/channels.replies
const data = {
channel: params.channel,
thread_ts: params.thread_ts,
}
const config = {
url: `https://slack.com/api/channels.replies`,
headers: {
Authorization: `Bearer ${auths.slack.oauth_access_token}`,
"Content-Type": "application/x-www-form-urlencoded",
},
params: data,
}
return await require("@pipedreamhq/platform").axios(this, config)