Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new webhook event is received.
Emit new event when a new version of an npm package is published. See the documentation
Sends a bot message to a group channel. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendbird_ai_chabot: {
type: "app",
app: "sendbird_ai_chabot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-${this.sendbird_ai_chabot.$auth.application_id}.sendbird.com/v3/bots`,
headers: {
"Accept": `application/json`,
"Api-Token": `${this.sendbird_ai_chabot.$auth.api_token}`,
},
})
},
})