{"_id":"@dark-yasiya/baileys","_rev":"9-af0527e0bf9d37fd3b48b2d412a2fe3b","name":"@dark-yasiya/baileys","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"@dark-yasiya/baileys","version":"1.0.0","keywords":["baileys","baileys-mod","wabot","whatsapp","js-whatsapp","whatsapp-api","whatsapp-web","whatsapp-bot","automation","multi-device"],"author":{"name":"Dark Yasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.0","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew/Baileys","bugs":{"url":"https://github.com/DarkYasiyaNew/Baileys/issues"},"dist":{"shasum":"99668633fb8b082ea09a0313ac1d4778607edb8a","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.0.tgz","fileCount":188,"integrity":"sha512-RHQEYeaaCrVkcaNdQ8CwMDYDGVKF0y5XTDxt3Kq2BXT5XVxojObLM5divB4MzMBYvgvd9lFdL2T3xiD4aq+hZQ==","signatures":[{"sig":"MEYCIQCawSQbJjLg/Y85mJXtO9kZ5/TAEMtcKacAEX13j9VqoQIhAKL3TPRgXBVncnW4KLPP9D2HV/1pD/XGnhz7VduBOzkd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12420085},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"9d73cdfc5a648e25e4cb3a4f96295c6fb98fa546","scripts":{"lint":"eslint src --ext .js,.ts,.jsx,.tsx","test":"jest","example":"node --inspect -r ts-node/register Example/example.ts","prepack":"tsc","prepare":"tsc","release":"release-it","lint:fix":"eslint src --fix --ext .js,.ts,.jsx,.tsx","build:all":"tsc && typedoc","build:tsc":"tsc","build:docs":"typedoc","preinstall":"node ./engine-requirements.js","gen:protobuf":"sh WAProto/GenerateStatics.sh","changelog:last":"conventional-changelog -p angular -r 2","changelog:update":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","changelog:preview":"conventional-changelog -p angular -u"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/DarkYasiyaNew/Baileys.git"},"_npmVersion":"10.8.2","description":"Custom Baileys WhatsApp API","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.13.0","pino":"^9.6","uuid":"^10.0.0","axios":"^1.6.0","lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","libsignal":"github:nstar-y/libsignal","@hapi/boom":"^9.1.3","protobufjs":"^6.11.3","async-mutex":"^0.5.0","cache-manager":"^5.7.6","music-metadata":"^7.12.3","libphonenumber-js":"^1.10.20","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^1.4.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^27.0.6","jimp":"^0.16.1","json":"^11.0.0","open":"^8.4.2","sharp":"^0.34.1","eslint":"^8.0.0","ts-jest":"^27.0.3","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","@types/got":"^9.6.11","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^27.5.1","@types/node":"^16.0.0","@types/sharp":"^0.29.4","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0","@adiwajshing/eslint-config":"github:adiwajshing/eslint-config","conventional-changelog-cli":"^2.2.2"},"peerDependencies":{"jimp":"^0.16.1","sharp":"^0.34.1","audio-decode":"^2.1.3","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0"},"peerDependenciesMeta":{"jimp":{"optional":true},"sharp":{"optional":true},"audio-decode":{"optional":true},"link-preview-js":{"optional":true},"qrcode-terminal":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.0_1754982291450_0.9405089121387438","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@dark-yasiya/baileys","version":"1.0.1","keywords":["baileys","baileys-mod","wabot","whatsapp","js-whatsapp","whatsapp-api","whatsapp-web","whatsapp-bot","automation","multi-device"],"author":{"name":"Dark Yasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.1","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew/Baileys","bugs":{"url":"https://github.com/DarkYasiyaNew/Baileys/issues"},"dist":{"shasum":"fdd0803ca7e42cd1479404d21df5fac5bf2eacd1","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.1.tgz","fileCount":188,"integrity":"sha512-fRKaZ+7Updne/YGqbwWDcV3mXuF0pU7LJedafomA6ymf9tmoRDrCfy40K38WSAljLyzK0LU5TEGbzmsO0xDsTg==","signatures":[{"sig":"MEUCIQCp/T0CBoiKYC2WtRILC/HRIlmzEGZRlgjZRRF/bqC8GQIgK7I136uM4m3OeFKzUvC3Axm0E/37j0rTSXR8r37X1zk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12420103},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"bdd8d1659e33d03ab6b5a3e27a39060aebf8b9f5","scripts":{"lint":"eslint src --ext .js,.ts,.jsx,.tsx","test":"jest","example":"node --inspect -r ts-node/register Example/example.ts","prepack":"tsc","prepare":"tsc","release":"release-it","lint:fix":"eslint src --fix --ext .js,.ts,.jsx,.tsx","build:all":"tsc && typedoc","build:tsc":"tsc","build:docs":"typedoc","preinstall":"node ./engine-requirements.js","gen:protobuf":"sh WAProto/GenerateStatics.sh","changelog:last":"conventional-changelog -p angular -r 2","changelog:update":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","changelog:preview":"conventional-changelog -p angular -u"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/DarkYasiyaNew/Baileys.git"},"_npmVersion":"10.8.2","description":"Custom Baileys WhatsApp API","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.13.0","pino":"^9.6","uuid":"^10.0.0","axios":"^1.6.0","lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","libsignal":"github:nstar-y/libsignal","@hapi/boom":"^9.1.3","protobufjs":"^6.11.3","async-mutex":"^0.5.0","cache-manager":"^5.7.6","music-metadata":"^7.12.3","libphonenumber-js":"^1.10.20","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^1.4.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^27.0.6","jimp":"^0.16.1","json":"^11.0.0","open":"^8.4.2","sharp":"^0.34.1","eslint":"^8.0.0","ts-jest":"^27.0.3","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","@types/got":"^9.6.11","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^27.5.1","@types/node":"^16.0.0","@types/sharp":"^0.29.4","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0","@adiwajshing/eslint-config":"github:adiwajshing/eslint-config","conventional-changelog-cli":"^2.2.2"},"peerDependencies":{"jimp":"^0.16.1","sharp":"^0.34.1","audio-decode":"^2.1.3","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0"},"peerDependenciesMeta":{"jimp":{"optional":true},"sharp":{"optional":true},"audio-decode":{"optional":true},"link-preview-js":{"optional":true},"qrcode-terminal":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.1_1754984154433_0.8212766510017584","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dark-yasiya/baileys","version":"1.0.2","keywords":["baileys","baileys-mod","wabot","whatsapp","js-whatsapp","whatsapp-api","whatsapp-web","whatsapp-bot","automation","multi-device"],"author":{"name":"Dark Yasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.2","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew/Baileys","bugs":{"url":"https://github.com/DarkYasiyaNew/Baileys/issues"},"dist":{"shasum":"e27a3d2e2afb70a988331c11647da8cc0e923035","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.2.tgz","fileCount":188,"integrity":"sha512-zzjouTRsTRZe+ey6J2JPYs18SmdT6WCpN94KRnfjYZPG4f+wgWNvPj1HWwgmW0Px6SsvfTQcolViTP8vhjbq/w==","signatures":[{"sig":"MEUCIFfMmsWgBJMHUpVPO1k0SE4U9z70P9PgAXaF0Tjt9X8AAiEA6B8xNqMH2MQQIXeOF648xuKETvUDkLnWBAK0Cc6TU3Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12420102},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"f9d5bf21d679849301a2b04654f1b20d208bc77a","scripts":{"lint":"eslint src --ext .js,.ts,.jsx,.tsx","test":"jest","example":"node --inspect -r ts-node/register Example/example.ts","prepack":"tsc","prepare":"tsc","release":"release-it","lint:fix":"eslint src --fix --ext .js,.ts,.jsx,.tsx","build:all":"tsc && typedoc","build:tsc":"tsc","build:docs":"typedoc","preinstall":"node ./engine-requirements.js","gen:protobuf":"sh WAProto/GenerateStatics.sh","changelog:last":"conventional-changelog -p angular -r 2","changelog:update":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","changelog:preview":"conventional-changelog -p angular -u"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/DarkYasiyaNew/Baileys.git"},"_npmVersion":"10.8.2","description":"Custom Baileys WhatsApp API","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.13.0","pino":"^9.6","uuid":"^10.0.0","axios":"^1.6.0","lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","libsignal":"github:nstar-y/libsignal","@hapi/boom":"^9.1.3","protobufjs":"^6.11.3","async-mutex":"^0.5.0","cache-manager":"^5.7.6","music-metadata":"^7.12.3","libphonenumber-js":"^1.10.20","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"1.5.8"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^27.0.6","jimp":"^0.16.1","json":"^11.0.0","open":"^8.4.2","sharp":"^0.34.1","eslint":"^8.0.0","ts-jest":"^27.0.3","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","@types/got":"^9.6.11","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^27.5.1","@types/node":"^16.0.0","@types/sharp":"^0.29.4","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0","@adiwajshing/eslint-config":"github:adiwajshing/eslint-config","conventional-changelog-cli":"^2.2.2"},"peerDependencies":{"jimp":"^0.16.1","sharp":"^0.34.1","audio-decode":"^2.1.3","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0"},"peerDependenciesMeta":{"jimp":{"optional":true},"sharp":{"optional":true},"audio-decode":{"optional":true},"link-preview-js":{"optional":true},"qrcode-terminal":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.2_1755178550813_0.24146712427953254","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@dark-yasiya/baileys","version":"1.0.3","keywords":["baileys","baileys-mod","wabot","whatsapp","js-whatsapp","whatsapp-api","whatsapp-web","whatsapp-bot","automation","multi-device"],"author":{"name":"Dark Yasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.3","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew/Baileys","bugs":{"url":"https://github.com/DarkYasiyaNew/Baileys/issues"},"dist":{"shasum":"c1062e9642f85eaecbbf386d018da41580bc6f7c","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.3.tgz","fileCount":188,"integrity":"sha512-34BlYYoedezxyVtIszErEGD89yOo9N60wOq0kEj0cNz6QztXgGCOiO20jAkmgUCejER9t2GBDGZe/eRFyVlO3g==","signatures":[{"sig":"MEUCIQDgGmgXrMkwCJIAdadiSJ2NLrjS2IA0rdsjoMIHswkoeQIgLYkml1okMZpcfT39TqXyaiTehdTRP3gLQORKhGMpTnU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12420103},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"3edd3cf8f5970d8dec1d2580ba6dfa6eda1421a8","scripts":{"lint":"eslint src --ext .js,.ts,.jsx,.tsx","test":"jest","example":"node --inspect -r ts-node/register Example/example.ts","prepack":"tsc","prepare":"tsc","release":"release-it","lint:fix":"eslint src --fix --ext .js,.ts,.jsx,.tsx","build:all":"tsc && typedoc","build:tsc":"tsc","build:docs":"typedoc","preinstall":"node ./engine-requirements.js","gen:protobuf":"sh WAProto/GenerateStatics.sh","changelog:last":"conventional-changelog -p angular -r 2","changelog:update":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","changelog:preview":"conventional-changelog -p angular -u"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/DarkYasiyaNew/Baileys.git"},"_npmVersion":"10.8.2","description":"Custom Baileys WhatsApp API","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.13.0","pino":"^9.6","uuid":"^10.0.0","axios":"^1.6.0","lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","libsignal":"github:nstar-y/libsignal","@hapi/boom":"^9.1.3","protobufjs":"^6.11.3","async-mutex":"^0.5.0","cache-manager":"^5.7.6","music-metadata":"^7.12.3","libphonenumber-js":"^1.10.20","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^1.4.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^27.0.6","jimp":"^0.16.1","json":"^11.0.0","open":"^8.4.2","sharp":"^0.34.1","eslint":"^8.0.0","ts-jest":"^27.0.3","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","@types/got":"^9.6.11","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^27.5.1","@types/node":"^16.0.0","@types/sharp":"^0.29.4","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0","@adiwajshing/eslint-config":"github:adiwajshing/eslint-config","conventional-changelog-cli":"^2.2.2"},"peerDependencies":{"jimp":"^0.16.1","sharp":"^0.34.1","audio-decode":"^2.1.3","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0"},"peerDependenciesMeta":{"jimp":{"optional":true},"sharp":{"optional":true},"audio-decode":{"optional":true},"link-preview-js":{"optional":true},"qrcode-terminal":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.3_1755180128064_0.636143483024602","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@dark-yasiya/baileys","version":"1.0.4","keywords":["baileys","baileys-mod","wabot","whatsapp","js-whatsapp","whatsapp-api","whatsapp-web","whatsapp-bot","automation","multi-device"],"author":{"name":"Dark Yasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.4","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew/Baileys","bugs":{"url":"https://github.com/DarkYasiyaNew/Baileys/issues"},"dist":{"shasum":"ae66f212e3d0c8e6c68d7786e238ba63c46d9e58","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.4.tgz","fileCount":188,"integrity":"sha512-jAHvDjKUJq+rDfcmuzPgothS/P4YauRKsHjKEbolnyGbHoPV068VSlWhsvHKGB/geILikiCkvvI684/4marVrw==","signatures":[{"sig":"MEUCIHaPfKxzlHoXycDMFwAAdgAd0rudah9taznEXy2RX20ZAiEA18R93BWqvqf8hDf4B8fdImJ/CdQqdccKjG6/bdUdEBg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12420136},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"a38206579ea7c4165c80dde41e679425dc18db29","scripts":{"lint":"eslint src --ext .js,.ts,.jsx,.tsx","test":"jest","example":"node --inspect -r ts-node/register Example/example.ts","prepack":"tsc","prepare":"tsc","release":"release-it","lint:fix":"eslint src --fix --ext .js,.ts,.jsx,.tsx","build:all":"tsc && typedoc","build:tsc":"tsc","build:docs":"typedoc","preinstall":"node ./engine-requirements.js","gen:protobuf":"sh WAProto/GenerateStatics.sh","changelog:last":"conventional-changelog -p angular -r 2","changelog:update":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","changelog:preview":"conventional-changelog -p angular -u"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/DarkYasiyaNew/Baileys.git"},"_npmVersion":"10.8.2","description":"Custom Baileys WhatsApp API","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.13.0","pino":"^9.9.0","uuid":"^10.0.0","axios":"^1.6.0","lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","libsignal":"git+https://github.com/DarkYasiyaNew/libsignal-node.git","@hapi/boom":"^9.1.3","protobufjs":"^6.11.3","async-mutex":"^0.5.0","cache-manager":"^5.7.6","music-metadata":"^7.12.3","libphonenumber-js":"^1.10.20","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^1.6.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^27.0.6","jimp":"^0.16.1","json":"^11.0.0","open":"^8.4.2","sharp":"^0.34.1","eslint":"^8.0.0","ts-jest":"^27.0.3","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","@types/got":"^9.6.11","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^27.5.1","@types/node":"^16.0.0","@types/sharp":"^0.29.4","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0","@adiwajshing/eslint-config":"github:adiwajshing/eslint-config","conventional-changelog-cli":"^2.2.2"},"peerDependencies":{"jimp":"^0.16.1","sharp":"^0.34.1","audio-decode":"^2.1.3","link-preview-js":"^3.0.0","qrcode-terminal":"^0.12.0"},"peerDependenciesMeta":{"jimp":{"optional":true},"sharp":{"optional":true},"audio-decode":{"optional":true},"link-preview-js":{"optional":true},"qrcode-terminal":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.4_1755186004583_0.6010214947092252","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@dark-yasiya/baileys","version":"1.0.5","keywords":["darkyasiya","baileys","interactive","whatsapp","whatsapp-bot"],"author":{"name":"DarkYasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.5","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew","bugs":{"url":"https://github.com/WhiskeySockets/Baileys/issues"},"dist":{"shasum":"8fe01f0412f0236b6c2821b7ae82770489fecb36","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.5.tgz","fileCount":281,"integrity":"sha512-hGLtJqCZFjkkBRTDegD3ke124GuWOHS+Bc4O9gB9yM7X4sqxDfCDMAIk6tXYITwvm5lYJj4sM3s7h20iYZuqRA==","signatures":[{"sig":"MEYCIQCjtGb/PwP4oqtr83AQg51zf2vGAZJdWYHfVtpLYTwSZgIhANRj1YIlulWptS5QF2cCAsZAKSQFXOm9DENPtO/msZ5d","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41309922},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"0eab7537a10ef82a7773dc75d50ffa81b68dc9a6","scripts":{"test":"jest"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/WhiskeySockets/Baileys.git"},"_npmVersion":"9.8.1","description":"Baileys with the WhatsApp Web API using WebSocket.","directories":{"lib":"lib"},"_nodeVersion":"22.17.0","dependencies":{"ws":"^8.13.0","pino":"^9.6","axios":"^1.12.1","chalk":"^4.1.2","fflate":"^0.8.2","lodash":"^4.17.21","libsignal":"npm:@meta.inc/libsignal@*","lru-cache":"^11.1.0","@hapi/boom":"^9.1.3","protobufjs":"^7.2.4","async-mutex":"^0.5.0","audio-decode":"^2.2.2","cache-manager":"^5.7.6","music-metadata":"^7.12.3","gradient-string":"^3.0.0","link-preview-js":"^3.0.14","qrcode-terminal":"^0.12.0","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"1.5.3"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^30.1.1","jimp":"^0.22.12","json":"^11.0.0","open":"^8.4.2","eslint":"^9.38.0","ts-jest":"^29.4.1","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^16.0.0","link-preview-js":"^3.0.5","typedoc-plugin-markdown":"4.4.2","conventional-changelog-cli":"^2.2.2","@whiskeysockets/eslint-config":"^1.0.0"},"peerDependencies":{"jimp":"^0.22.12"},"peerDependenciesMeta":{"jimp":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.5_1761826189507_0.37073844877079876","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@dark-yasiya/baileys","version":"1.0.6","keywords":["darkyasiya","baileys","interactive","whatsapp","whatsapp-bot"],"author":{"name":"DarkYasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.6","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew","bugs":{"url":"https://github.com/WhiskeySockets/Baileys/issues"},"dist":{"shasum":"ac1c467410718074b2f2f9bad6d50c3c00a77916","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.6.tgz","fileCount":282,"integrity":"sha512-haUmNhTwePO7oJB7AJX10AZinR31m6kiVcHZaarToAPmtyzTZLyNV2O7wSB+5EFnFE34MfFujirpT4GfWVsz/Q==","signatures":[{"sig":"MEQCIDcwCEeqvoe/WVyRj+kYEj5F0ephSmI5DpcMbOKvISUpAiBgEVnidUVBpWOgAZ3IYxyPg1S39pcaG6M1Uv4Wm6SucA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41356658},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"0eab7537a10ef82a7773dc75d50ffa81b68dc9a6","scripts":{"test":"jest"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/WhiskeySockets/Baileys.git"},"_npmVersion":"9.8.1","description":"Baileys with the WhatsApp Web API using WebSocket.","directories":{"lib":"lib"},"_nodeVersion":"22.17.0","dependencies":{"ws":"^8.13.0","pino":"^9.6","axios":"^1.12.1","chalk":"^4.1.2","fflate":"^0.8.2","lodash":"^4.17.21","libsignal":"npm:@meta.inc/libsignal@*","lru-cache":"^11.1.0","@hapi/boom":"^9.1.3","protobufjs":"^7.2.4","async-mutex":"^0.5.0","audio-decode":"^2.2.2","cache-manager":"^5.7.6","music-metadata":"^7.12.3","gradient-string":"^3.0.0","link-preview-js":"^3.0.14","qrcode-terminal":"^0.12.0","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"1.5.3"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^30.1.1","jimp":"^0.22.12","json":"^11.0.0","open":"^8.4.2","eslint":"^9.38.0","ts-jest":"^29.4.1","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^16.0.0","link-preview-js":"^3.0.5","typedoc-plugin-markdown":"4.4.2","conventional-changelog-cli":"^2.2.2","@whiskeysockets/eslint-config":"^1.0.0"},"peerDependencies":{"jimp":"^0.22.12"},"peerDependenciesMeta":{"jimp":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.6_1761827071022_0.061940335505517696","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@dark-yasiya/baileys","version":"1.0.7","keywords":["darkyasiya","baileys","interactive","whatsapp","whatsapp-bot"],"author":{"name":"DarkYasiya"},"license":"MIT","_id":"@dark-yasiya/baileys@1.0.7","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"homepage":"https://github.com/DarkYasiyaNew","bugs":{"url":"https://github.com/WhiskeySockets/Baileys/issues"},"dist":{"shasum":"f092378a799acfb7e400d4cc5a4201fcc5ee81c3","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.7.tgz","fileCount":282,"integrity":"sha512-QWjAsgbgOzoXqcTlMe/W7ByPxldcxD+SVKuJTXKC7J929yD3T0hd/lL7V9daBHjOHFeguo3J4LLqb7wKaPd9lw==","signatures":[{"sig":"MEUCICOR/4dahyaV2Ufck5oyXWJ5fUU689A1s78q+VP2mTqVAiEAqqZNUkJqwrXB1dtg0FRFC0SOx2ytJFgPBEPAYom3eSw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41356732},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"0eab7537a10ef82a7773dc75d50ffa81b68dc9a6","scripts":{"test":"jest"},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"repository":{"url":"git+ssh://git@github.com/WhiskeySockets/Baileys.git"},"_npmVersion":"9.8.1","description":"Baileys with the WhatsApp Web API using WebSocket.","directories":{"lib":"lib"},"_nodeVersion":"22.17.0","dependencies":{"ws":"^8.13.0","pino":"^9.6","axios":"^1.12.1","chalk":"^4.1.2","fflate":"^0.8.2","lodash":"^4.17.21","libsignal":"npm:@meta.inc/libsignal@*","lru-cache":"^11.1.0","@hapi/boom":"^9.1.3","protobufjs":"^7.2.4","async-mutex":"^0.5.0","audio-decode":"^2.2.2","cache-manager":"^5.7.6","music-metadata":"^7.12.3","gradient-string":"^3.0.0","link-preview-js":"^3.0.14","qrcode-terminal":"^0.12.0","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"1.5.3"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"jest":"^30.1.1","jimp":"^0.22.12","json":"^11.0.0","open":"^8.4.2","eslint":"^9.38.0","ts-jest":"^29.4.1","ts-node":"^10.8.1","typedoc":"^0.27.9","@types/ws":"^8.0.0","release-it":"^15.10.3","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^16.0.0","link-preview-js":"^3.0.5","typedoc-plugin-markdown":"4.4.2","conventional-changelog-cli":"^2.2.2","@whiskeysockets/eslint-config":"^1.0.0"},"peerDependencies":{"jimp":"^0.22.12"},"peerDependenciesMeta":{"jimp":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_1.0.7_1761827275939_0.28955860652341703","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@dark-yasiya/baileys","version":"1.0.8","description":"Baileys with the WhatsApp Web API using WebSocket.","keywords":["darkyasiya","baileys","interactive","whatsapp","whatsapp-bot"],"homepage":"https://github.com/DarkYasiyaNew/YMD-Baileys","repository":{"url":"git+ssh://git@github.com/DarkYasiyaNew/YMD-Baileys.git"},"license":"MIT","author":{"name":"DarkYasiya"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"test":"jest"},"dependencies":{"@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"1.5.3","@hapi/boom":"^9.1.3","async-mutex":"^0.5.0","audio-decode":"^2.2.2","axios":"^1.12.1","cache-manager":"^5.7.6","chalk":"^4.1.2","fflate":"^0.8.2","gradient-string":"^3.0.0","libsignal":"npm:@meta.inc/libsignal@*","link-preview-js":"^3.0.14","lodash":"^4.17.21","lru-cache":"^11.1.0","music-metadata":"^7.12.3","pino":"^9.6","protobufjs":"^7.2.4","qrcode-terminal":"^0.12.0","ws":"^8.13.0"},"devDependencies":{"@types/jest":"^29.5.14","@types/node":"^16.0.0","@types/ws":"^8.0.0","@whiskeysockets/eslint-config":"^1.0.0","conventional-changelog-cli":"^2.2.2","eslint":"^9.38.0","jest":"^30.1.1","jimp":"^0.22.12","json":"^11.0.0","link-preview-js":"^3.0.5","open":"^8.4.2","release-it":"^15.10.3","ts-jest":"^29.4.1","ts-node":"^10.8.1","typedoc":"^0.27.9","typedoc-plugin-markdown":"4.4.2","typescript":"^5.8.2"},"peerDependencies":{"jimp":"^0.22.12"},"peerDependenciesMeta":{"jimp":{"optional":true}},"packageManager":"yarn@1.22.19","engines":{"node":">=20.0.0"},"directories":{"lib":"lib"},"_id":"@dark-yasiya/baileys@1.0.8","gitHead":"7f0bff64ca9f16056e8f0ccf6174fde09a76c09f","bugs":{"url":"https://github.com/DarkYasiyaNew/YMD-Baileys/issues"},"_nodeVersion":"22.17.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-h0gYDOiK8aUdT2DvCpI+h93qRytfOYRKeeg7oQAgHhzSdlQO/Lo8zu45mc/KtYJ5JXTGMIXIoc0z6dRNuXb7Yw==","shasum":"cf2fc17a5c419fca3c0e433cf2e139a6f58e3c55","tarball":"https://registry.npmjs.org/@dark-yasiya/baileys/-/baileys-1.0.8.tgz","fileCount":282,"unpackedSize":41356302,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCDCGaFXXvNZTegY4CMvjo5Xokq2gbxj3v7105R4ljkEQIgUOs0ljabySEN/lF0PcD01K1lPIuXtQVn2Qt2aXhH2e0="}]},"_npmUser":{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"},"maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/baileys_1.0.8_1762349854536_0.8877702660833788"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-12T07:04:51.341Z","modified":"2025-11-05T13:37:35.059Z","1.0.0":"2025-08-12T07:04:51.673Z","1.0.1":"2025-08-12T07:35:54.639Z","1.0.2":"2025-08-14T13:35:51.059Z","1.0.3":"2025-08-14T14:02:08.273Z","1.0.4":"2025-08-14T15:40:04.904Z","1.0.5":"2025-10-30T12:09:49.788Z","1.0.6":"2025-10-30T12:24:31.241Z","1.0.7":"2025-10-30T12:27:56.210Z","1.0.8":"2025-11-05T13:37:34.839Z"},"bugs":{"url":"https://github.com/DarkYasiyaNew/YMD-Baileys/issues"},"author":{"name":"DarkYasiya"},"license":"MIT","homepage":"https://github.com/DarkYasiyaNew/YMD-Baileys","keywords":["darkyasiya","baileys","interactive","whatsapp","whatsapp-bot"],"repository":{"url":"git+ssh://git@github.com/DarkYasiyaNew/YMD-Baileys.git"},"description":"Baileys with the WhatsApp Web API using WebSocket.","maintainers":[{"name":"yasitha-samujith","email":"yasiyaofc@gmail.com"}],"readme":"# <div align='center'>Baileys Modification - Dark Yasiya</div>\n\n<div align=\"center\">\n\n  <img src=\"https://i.ibb.co/shPGZpq/q-UMs-HLPXMA.jpg\" alt=\"Baileys Banner\" />\n\n  <br><br>\n\n  <a href=\"https://www.npmjs.com/package/@dark-yasiya/baileys\">\n    <img src=\"https://img.shields.io/npm/v/@dark-yasiya/baileys?color=red&label=Version&logo=npm\" alt=\"npm version\" />\n  </a>\n\n  <a href=\"https://www.npmjs.com/package/@dark-yasiya/baileys\">\n    <img src=\"https://img.shields.io/npm/dt/@dark-yasiya/baileys?color=red&label=Downloads&logo=npm\" alt=\"npm downloads\" />\n  </a>\n\n  <a href=\"https://whatsapp.com/channel/0029VaaPfFK7Noa8nI8zGg27\">\n    <img src=\"https://img.shields.io/badge/WhatsApp-Channel-25D366?logo=whatsapp&logoColor=white\" alt=\"WhatsApp Channel\" />\n  </a>\n\n</div>\n\n\n## 📖 Table of Contents\n\n- [Important Note](#important-note)\n- [Install](#install)\n- [Added Features and Improvements](#-added-features-and-improvements)\n- [Feature Examples](#feature-examples)\n  - [Newsletter Management](#newsletter-management)\n  - [Button and Interactive Message Management](#button-and-interactive-message-management)\n  - [Send Album Message](#send-album-message)\n  - [AI Message Icon Customization](#ai-message-icon-customization)\n  - [Custom Pairing Code Generation](#custom-pairing-code-generation)\n- [Reporting Issues](#reporting-issues)\n- [Notes](#notes)\n---\n\n## Important Note\n\nThe original repository was initially removed by its creator and subsequently taken over by [WhiskeySockets](https://github.com/WhiskeySockets). Building upon this foundation, I have implemented several enhancements and introduced new features that were not present in the original repository. These improvements aim to elevate functionality and provide a more robust and versatile experience.\n\n## Install\n\nInstall in package.json:\n```json\n\"dependencies\": {\n    \"@whiskeysockets/baileys\": \"npm:@dark-yasiya/baileys\"\n}\n```\nor install in terminal:\n```\nnpm install @whiskeysockets/baileys@npm:@dark-yasiya/baileys\n```\n\nThen import the default function in your code:\n```ts \n// type esm\nimport makeWASocket from '@whiskeysockets/baileys'\n```\n\n```js\n// type cjs\nconst { default: makeWASocket } = require(\"@whiskeysockets/baileys\")\n```\n\n## Added Features and Improvements\n\n| Feature                               | Description                                                                                                                               |\n| :------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------- |\n| 💬 **Send Messages to Channels**     | Supports sending text and media messages to channels.                                                                                     |\n| 🔘 **Button & Interactive Messages** | Supports sending button messages and interactive messages on WhatsApp Messenger and WhatsApp Business.                                   |\n| 🖼️ **Send Album Messages**           | Supports sending multiple images as an album (grouped media message), enabling richer and more organized media sharing.                  |\n| 👥 **Group with LID Support**       | Full support for group using `@lid`, ensuring compatibility with the latest WhatsApp group addressing format.                         |\n| 🤖 **AI Message Icon**               | Customize message appearances with an optional AI icon, adding a modern touch.                                                            |\n| 🖼️ **Full-Size Profile Pictures**    | Allows users to upload profile pictures in their original size without cropping, ensuring better quality and visual presentation.         |\n| 🔑 **Custom Pairing Codes**          | Users can now create and customize pairing codes as they wish, enhancing convenience and security when connecting devices.                |\n| 🛠️ **Libsignal Fixes**               | Enjoy a cleaner development experience with refined logs, providing more informative and less cluttered output from the libsignal library.|\n\nMore features and improvements will be added in the future.\n\n## Feature Examples\n\nHere are some examples of features that have been added:\n\n### Newsletter Management\n\n<details>\n<summary style=\"font-weight: bold; cursor: pointer; padding: 8px; border-bottom: 1px solid #eee; margin-bottom: 5px;\">Show Examples</summary>\n<div style=\"padding: 10px 15px; background: #f9f9f9; border: 1px solid #eee; border-top: none; border-radius: 0 0 5px 5px;\">\n\n- **To get info newsletter**\n```ts\nconst metadata = await sock.newsletterMetadata(\"invite\", \"xxxxx\")\n// or\nconst metadata = await sock.newsletterMetadata(\"jid\", \"abcd@newsletter\")\nconsole.log(metadata)\n```\n- **To update the description of a newsletter**\n```ts\nawait sock.newsletterUpdateDescription(\"abcd@newsletter\", \"New Description\")\n```\n- **To update the name of a newsletter**\n```ts\nawait sock.newsletterUpdateName(\"abcd@newsletter\", \"New Name\")\n```  \n- **To update the profile picture of a newsletter**\n```ts\nawait sock.newsletterUpdatePicture(\"abcd@newsletter\", buffer)\n```\n- **To remove the profile picture of a newsletter**\n```ts\nawait sock.newsletterRemovePicture(\"abcd@newsletter\")\n```\n- **To mute notifications for a newsletter**\n```ts\nawait sock.newsletterUnmute(\"abcd@newsletter\")\n```\n- **To mute notifications for a newsletter**\n```ts\nawait sock.newsletterMute(\"abcd@newsletter\")\n```\n- **To create a newsletter**\n```ts\nconst metadata = await sock.newsletterCreate(\"Newsletter Name\")\nconsole.log(metadata)\n```\n- **To delete a newsletter**\n```ts\nawait sock.newsletterDelete(\"abcd@newsletter\")\n```\n- **To follow a newsletter**\n```ts\nawait sock.newsletterFollow(\"abcd@newsletter\")\n```\n- **To unfollow a newsletter**\n```ts\nawait sock.newsletterUnfollow(\"abcd@newsletter\")\n```\n- **To send reaction**\n```ts\n// jid, id message & emoticon\n// way to get the ID is to copy the message url from channel\n// Example: [ https://whatsapp.com/channel/xxxxx/175 ]\n// The last number of the URL is the ID\nconst id = \"175\"\nawait sock.newsletterReactMessage(\"abcd@newsletter\", id, \"🥳\")\n```\n</div>\n</details>\n\n### Button and Interactive Message Management\n\n<details>\n<summary style=\"font-weight: bold; cursor: pointer; padding: 8px; border-bottom: 1px solid #eee; margin-bottom: 5px;\">Show Examples</summary>\n<div style=\"padding: 10px 15px; background: #f9f9f9; border: 1px solid #eee; border-top: none; border-radius: 0 0 5px 5px;\">\n\n- **To send button with text**\n```ts\nconst buttons = [\n  { buttonId: 'id1', buttonText: { displayText: 'Button 1' }, type: 1 },\n  { buttonId: 'id2', buttonText: { displayText: 'Button 2' }, type: 1 }\n]\n\nconst buttonMessage = {\n    text: \"Hi it's button message\",\n    footer: 'Hello World',\n    buttons,\n    headerType: 1\n}\n\nawait sock.sendMessage(id, buttonMessage, { quoted: null })\n```\n- **To send button with image**\n```ts\nconst buttons = [\n  { buttonId: 'id1', buttonText: { displayText: 'Button 1' }, type: 1 },\n  { buttonId: 'id2', buttonText: { displayText: 'Button 2' }, type: 1 }\n]\n\nconst buttonMessage = {\n    image: { url: \"https://example.com/abcd.jpg\" }, // image: buffer or path\n    caption: \"Hi it's button message with image\",\n    footer: 'Hello World',\n    buttons,\n    headerType: 1\n}\n\nawait sock.sendMessage(id, buttonMessage, { quoted: null })\n\n```\n- **To send button with video**\n```ts\nconst buttons = [\n  { buttonId: 'id1', buttonText: { displayText: 'Button 1' }, type: 1 },\n  { buttonId: 'id2', buttonText: { displayText: 'Button 2' }, type: 1 }\n]\n\nconst buttonMessage = {\n    video: { url: \"https://example.com/abcd.mp4\" }, // video: buffer or path\n    caption: \"Hi it's button message with video\",\n    footer: 'Hello World',\n    buttons,\n    headerType: 1\n}\n\nawait sock.sendMessage(id, buttonMessage, { quoted: null })\n```\n\n- **To send interactive message**\n```ts\nconst interactiveButtons = [\n     {\n        name: \"quick_reply\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Quick Reply\",\n             id: \"ID\"\n        })\n     },\n     {\n        name: \"cta_url\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Tap Here!\",\n             url: \"https://www.example.com/\"\n        })\n     },\n     {\n        name: \"cta_copy\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Copy Code\",\n             id: \"12345\",\n             copy_code: \"12345\"\n        })\n     }\n]\n\nconst interactiveMessage = {\n    text: \"Hello World!\",\n    title: \"this is the title\",\n    footer: \"this is the footer\",\n    interactiveButtons\n}\n\nawait sock.sendMessage(id, interactiveMessage, { quoted: null })\n```\n- **To send interactive message with image**\n```ts\nconst interactiveButtons = [\n     {\n        name: \"quick_reply\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Quick Reply\",\n             id: \"ID\"\n        })\n     },\n     {\n        name: \"cta_url\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Tap Here!\",\n             url: \"https://www.example.com/\"\n        })\n     },\n     {\n        name: \"cta_copy\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Copy Code\",\n             id: \"12345\",\n             copy_code: \"12345\"\n        })\n     }\n]\n\nconst interactiveMessage = {\n    image: { url: \"https://example.com/abcd.jpg\" }, // image: buffer or path\n    caption: \"this is the caption\",\n    title: \"this is the title\",\n    footer: \"this is the footer\",\n    interactiveButtons\n}\n\nawait sock.sendMessage(id, interactiveMessage, { quoted: null })\n```\n- **To send interactive message with video**\n```ts\nconst interactiveButtons = [\n     {\n        name: \"quick_reply\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Quick Reply\",\n             id: \"ID\"\n        })\n     },\n     {\n        name: \"cta_url\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Tap Here!\",\n             url: \"https://www.example.com/\"\n        })\n     },\n     {\n        name: \"cta_copy\",\n        buttonParamsJson: JSON.stringify({\n             display_text: \"Copy Code\",\n             id: \"12345\",\n             copy_code: \"12345\"\n        })\n     }\n]\n\nconst interactiveMessage = {\n    video: { url: \"https://example.com/abcd.mp4\" }, // video: buffer or path\n    caption: \"this is the caption\",\n    title: \"this is the title\",\n    footer: \"this is the footer\",\n    interactiveButtons\n}\n\nawait sock.sendMessage(id, interactiveMessage, { quoted: null })\n```\n- **To send list interactive**\n```ts\nconst interactiveButtons = [\n  {\n    name: \"single_select\",\n    buttonParamsJson: JSON.stringify({\n      title: \"message\",\n      sections: [\n        {\n          title: \"title\",\n          highlight_label: \"label\",\n          rows: [\n            {\n              header: \"HEADER\",\n              title: \"TITLE\",\n              description: \"DESCRIPTION\",\n              id: \"YOUR ID\"\n            },\n            {\n              header: \"HEADER\",\n              title: \"TITLE\",\n              description: \"DESCRIPTION\",\n              id: \"YOUR ID\"\n            }\n          ]\n        }\n      ]\n    })\n  }\n];\n\nconst interactiveMessage = {\n    text: \"Hello World!\",\n    title: \"this is the title\",\n    footer: \"this is the footer\",\n    interactiveButtons\n};\n\nawait sock.sendMessage(id, interactiveMessage, { quoted: null });\n```\n\n</div>\n</details>\n\n### Send Album Message\n\n<details>\n<summary style=\"font-weight: bold; cursor: pointer; padding: 8px; border-bottom: 1px solid #eee; margin-bottom: 5px;\">Show Example</summary>\n<div style=\"padding: 10px 15px; background: #f9f9f9; border: 1px solid #eee; border-top: none; border-radius: 0 0 5px 5px;\">\n\n```ts\n// Media can be a URL, buffer, or path.\nconst media = [\n  {\n    image: { url: \"https://example.com/image.jpg\" }\n  },\n  {\n    image: await getBuffer(\"https://example.com/image.jpg\")\n  },\n  {\n    video: { url: \"https://example.com/video.mp4\" }\n  }\n]\n\nawait sock.sendMessage(id, { album: media, caption: \"testing send album\" }, { quoted: null })\n```\n\n</div>\n</details>\n\n### AI Message Icon Customization\n\n<details>\n<summary style=\"font-weight: bold; cursor: pointer; padding: 8px; border-bottom: 1px solid #eee; margin-bottom: 5px;\">Show Example</summary>\n<div style=\"padding: 10px 15px; background: #f9f9f9; border: 1px solid #eee; border-top: none; border-radius: 0 0 5px 5px;\">\n\n```ts\n// To enable the AI icon for a message, simply add the \"ai: true\" parameter:\nawait sock.sendMessage(id, { text: \"Hello World\", ai: true });\n```\n\n</div>\n</details>\n\n### Custom Pairing Code Generation\n\n<details>\n<summary style=\"font-weight: bold; cursor: pointer; padding: 8px; border-bottom: 1px solid #eee; margin-bottom: 5px;\">Show Example</summary>\n<div style=\"padding: 10px 15px; background: #f9f9f9; border: 1px solid #eee; border-top: none; border-radius: 0 0 5px 5px;\">\n\n```ts\nif(usePairingCode && !sock.authState.creds.registered) {\n    const phoneNumber = await question('Please enter your mobile phone number:\\n');\n    // Define your custom 8-digit code (alphanumeric)\n    const customPairingCode = \"YASIYAMD\";\n    const code = await sock.requestPairingCode(phoneNumber, customPairingCode);\n    console.log(`Your Pairing Code: ${code?.match(/.{1,4}/g)?.join('-') || code}`);\n}\n```\n*Note: The `question` function is a placeholder for your method of obtaining user input.*\n</div>\n</details>\n\n## Reporting Issues\nIf you encounter any issues while using this repository or any part of it, please feel free to open a [new issue](https://github.com/DarkYasiyaNew/YMD-Baileys/issues) here.\n\n## Notes\nEverything other than the modifications mentioned above remains the same as the original repository. You can check out the original repository at [WhiskeySockets](https://github.com/WhiskeySockets/Baileys)\n","readmeFilename":"README.md"}