Channel where the message to add reaction to was posted.
Reaction (emoji) name.
Timestamp of the message to add reaction to.
async
(params, auths) => {
}
//See the API docs here: https://api.slack.com/methods/reactions.add
const data = {
channel: params.channel,
name: params.name,
timestamp: params.timestamp,
}
const config = {
method: "post",
url: `https://slack.com/api/reactions.add`,
headers: {
Authorization: `Bearer ${auths.slack.oauth_access_token}`,
},
params: data
}
return await require("@pipedreamhq/platform").axios(this, config)