Channel to get info on
async
(params, auths) => {
}
//See the API docs here: https://api.slack.com/methods/channels.info
var include_locale = params.include_locale || false;
const config = {
url: `https://slack.com/api/channels.info?channel=${params.channel}&include_locale=${include_locale}`,
headers: {
Authorization: `Bearer ${auths.slack.oauth_access_token}`,
"Content-Type": "application/x-www-form-urlencoded",
},
}
return await require("@pipedreamhq/platform").axios(this, config)