![SuhailTechInfo :: Visitor's Count](https://camo.githubusercontent.com/7c4bbfa5210630bbc18ec55fb384ed1ebacc869062a7cae8fb9c408f6f7223d2/68747470733a2f2f70726f66696c652d636f756e7465722e676c697463682e6d652f7b736d642d7765622d71727d2f636f756e742e737667)
- Click
FORK
and Star ⭐ Repository
if you get help from repo.
- Deploy on
HEROKU
.
- Deploy on
REPLIT
.
- Deploy on
RENDER
.
RENDER PROCESS:
1: Click "NEW".
2: Select "Web Service".
3: Click "Build and deploy from a Git repository".
4: Now Choose this forked git repo from list.
5: And JUST CLICK "Connect".
"@hapi/boom": "^10.0.1",
"@whiskeysockets/baileys": "6.5.0",
"pino": "^8.1.0",
"express": "^4.18.2",
"qrcode": "latest"
let Smd =SuhailWASocket({
printQRInTerminal: false, // make it false if you're using web
logger: pino({ level: "silent" }), // make it silent to prevent baileys buffering
browser: Browsers.baileys("Desktop"), // awailable browsers : ubuntu, macOS, baileys.
auth: state
});
- Getting Session in BASE64
let CREDS = fs.readFileSync(__dirname + '/auth_info_baileys/creds.json')
var Scan_Id = Buffer.from(CREDS).toString('base64') // converting into Base64 ---- IMPLEMENT ACCOEDING TO YOUR NEED
// res.json({status:true,Scan_Id })
const PORT = process.env.PORT || 5000
const MESSAGE = process.env.MESSAGE || "Don't Provide your session id to someone!"
// Set Confirmation Message According to your need!