New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

vinzzknight

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vinzzknight

WhatsApp API Modification By Vinzz

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
6
-70%
Maintainers
1
Weekly downloads
 
Created
Source

Modified Whatsapp-API

Usage

"depencies": {
  "vinzzknight": "latest"
}

Import

const {
  default:makeWASocket,
  // Other Options 
} = require('vinzzknight');

How To Connect To Whatsapp

With QR Code

const {
  default: makeWASocket
} = require('vinzzknight');

const client = makeWASocket({
  browser: ['Ubuntu', 'Chrome', '20.00.1'],
  printQRInTerminal: true
})

Connect With Number

const {
  default: makeWASocket,
  fetchLatestWAWebVersion
} = require('vinzzknight');

const client = makeWASocket({
  browser: ['Ubuntu', 'Chrome', '20.00.1'],
  printQRInTerminal: false,
  version: fetchLatestWAWebVersion()
  // Other options
});

const number = "628XXXXX";
const code = await client.requestPairingCode(number.trim) /* Use : (number, "YYYYYYYY") for custom-pairing */

console.log("Ur pairing code : " + "VINZZJSS")

Sending messages

send orderMessage

const fs = require('fs');
const vinzzImg = fs.readFileSync('./VinzzImage');

await client.sendMessage(m.chat, {
  thumbnail: vinzz,
  message: "Gotta get a grip",
  orderTitle: "Vinzz-Developer",
  totalAmount1000: 72502,
  totalCurrencyCode: "IDR"
}, { quoted:m })

send pollResultSnapshotMessage

await client.sendMessage(m.chat, {
  pollResultMessage: {
    name: "Vinzz-Developer",
    options: [
      {
        optionName: "poll 1"
      },
      {
        optionName: "poll 2"
      }
    ],
    newsletter: {
      newsletterName: "💸 —͟͞͞VinzzOfficial",
      newsletterJid: "120363389012094856@newsletter"
    }
  }
})

send productMessage

await client.relayMessage(m.chat, {
  productMessage {
    title: "Vinzz-Developer",
    description: "zZZ...",
    thumbnail: { url: "./VinzzImage" },
    productId: "EXAMPLE_TOKEN",
    retailerId: "EXAMPLE_RETAILER_ID",
    url: "https://t.me/Vinzz-Developer",
    body: "Nak Tido",
    footer: "Footer",
    buttons: [
      {
        name: "cta_url",
        buttonParamsJson: "{\"display_text\":\"Vinzz-Developer\",\"url\":\"https://t.me/VinzzOfficial\"}"
      }
    ],
    priceAmount1000: 72502,
    currencyCode: "IDR"
  }
})

Keywords

whatsapp

FAQs

Package last updated on 12 Feb 2026

Related posts