
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
qiscus-whatsapp-sdk
Advanced tools
The Qiscus whatsapp SDK for NodeJS make it easy to develop chatbot / autoreply using Qiscus Whatsapp API
yarn add qiscus-whatsapp-sdk
# or
npm install --save qiscus-whatsapp-sdk
const { Client } = require("qiscus-whatsapp-sdk");
const client = new Client({
APP_ID: process.env.APP_ID,
APP_SECRET: process.env.APP_SECRET,
CHANNEL_ID: process.env.CHANNEL_ID,
});
const phone = "62888888888888"
client.sendText(phone, "Hello from whatsapp")
// send Audio
client.sendAudio(phone, "<audio url>")
// send Document
client.sendDocument(phone, "<Docs url>", "caption", "filename")
// send Image
client.sendImage(phone, "<audio url>", "caption")
// send Video
client.sendVideo(phone, "<video url>", "caption")
// send Sticker
client.sendSticker(phone, "<sticker url>")
const location = {
longitude: -122.425332,
latitude: 37.758056,
name: "Facebook HQ",
address: "1 Hacker Way, Menlo Park, CA 94025",
}
client.sendLocation(phone, location)
client
.sendReplyButtons(phone, {
header: {
type: "text",
text: "ini header"
},
body: {
text: "hallo",
},
action: {
buttons: [
{
type: "reply",
reply: { id: "1", title: "hallo" },
},
],
},
footer: {
text: "from insignia",
},
})
client
.sendListMessage("6281213182520", {
header: {
type: "text",
text: "ini header",
},
body: {
text: "hallo",
},
action: {
button: "ini button",
sections: [
{
title: "section title",
rows: [{ id: "1", description: "ini row 1", title: "row 1" }],
},
],
},
footer: {
text: "from insignia",
},
})
FAQs
NodeJS sdk for communicating with qiscus whatsapp api
The npm package qiscus-whatsapp-sdk receives a total of 1 weekly downloads. As such, qiscus-whatsapp-sdk popularity was classified as not popular.
We found that qiscus-whatsapp-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.