green-api / whatsapp-api-client-js Goto Github PK
View Code? Open in Web Editor NEWThis library helps you easily create a javascript application with Whatsapp support
Home Page: https://green-api.com
License: MIT License
This library helps you easily create a javascript application with Whatsapp support
Home Page: https://green-api.com
License: MIT License
I guess it's just not added yet. Hope to see it soon!!
Hi,
I am Raja. I am using the WhatsApp API to send a message. For example, my number is (code)(number) -- (+91)(9886356363). Can you please suggest the same format/signature called the sendMessage() function? Also, let me know if there are any other changes required.
I am getting 466 error message on following Indian number.
`
await restAPI.message.sendMessage('[email protected]', null, "hello world")
.then((data) => {
res.status(200).send({ data });
})
`
/waInstance{{idInstance}}/sendFileByUrl/{{apiTokenInstance}}
import * as greenApi from "npm:@green-api/[email protected]";
error TS7016: Could not find a declaration file for module '@green-api/whatsapp-api-client'. '/home/runner/work/abstract-bot-api/abstract-bot-api/dist/node_modules/@green-api/whatsapp-api-client/lib/bundle.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/green-api__whatsapp-api-client` if it exists or add a new declaration (.d.ts) file containing `declare module '@green-api/whatsapp-api-client';`
There is no typescript declaration for the library
I tried to use sendFileByUrl to send image or pdf file, but I did not work for me. I am using front-end to send image or pdf file to the node.js server then I used sendFileByUrl to send the file to the whatsapp, it did not work.
Could you please help me to implement this.
How i can send a message to a group?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.