async
(params, auths) => {
}
//See the API docs here: https://api.slack.com/methods/reactions.get
const data = {
channel: params.channel,
file: params.file,
file_comment: params.file_comment,
full: params.full || false,
timestamp: params.timestamp,
}
const config = {
url: `https://slack.com/api/reactions.get`,
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)