Exchange a trigger to post to the user.
The view payload. This must be a JSON-encoded string.
async
(params, auths) => {
}
const data = {
trigger_id: params.trigger_id,
view: params.view,
}
const config = {
method: "post",
url: `https://slack.com/api/views.open`,
headers: {
Authorization: `Bearer ${auths.slack.oauth_access_token}`,
},
data,
}
return await require("@pipedreamhq/platform").axios(this, config)