sulla
sulla copied to clipboard
How to run this project? Sorry still a noob
you can start with this then run the code using node
const sulla = require('sulla');
sulla.create().then((client)=>{
client.sendText(<phone number with country code>@c.us
, "Hello")
.then(d => {
console.log(d)
})
.catch(e => {
console.log(e)
})
})
Thanks @TheCBKM , successfully send the message.
How to use the async / await code?
How to use the async / await code?
Async is used do declare asynchronous functions, await is used inside async functions.
More information: https://blog.bitsrc.io/understanding-javascript-async-and-await-with-examples-a010b03926ea
async function (){
const client= await sulla.create()
await client.sendText(<phone number with country code>
@c.us, "Hello")
}
Hey mine is stuck in Authenticating... and didn't print any qrcode. How to start the project properly after i ran npm i sulla?
Hey mine is stuck in Authenticating... and didn't print any qrcode. How to start the project properly after i ran npm i sulla?
try deleting session folder
Hey mine is stuck in Authenticating... and didn't print any qrcode. How to start the project properly after i ran npm i sulla?
Delete Sessions folder
Hey mine is stuck in Authenticating... and didn't print any qrcode. How to start the project properly after i ran npm i sulla?
Delete Sessions folder
Still stuck
Deleting session folder didn't work for me,i set the headless config to false and it worked for me.
the repository is deprecated use
Install npm i @s2click/venom https://github.com/s2click/venom