{"_id":"@bot-wa/bot-wa-baileys","_rev":"16-9fe697323dd76b56e11901920e35a8c7","name":"@bot-wa/bot-wa-baileys","dist-tags":{"latest":"1.1.5"},"versions":{"1.0.0":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.0","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.0","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa#readme","bugs":{"url":"https://github.com/andresayac/bot-wa/issues"},"dist":{"shasum":"14caef64fb4d09f51b4207d9af787bdcd6175def","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.0.tgz","fileCount":3,"integrity":"sha512-1M975UYLXQSrafBRkMlGath3h61tSBrcctyhqM8JwHQsL+gpieh0D6uzJpK9pxe4jEBq/71//LXNOVJ44oo4hg==","signatures":[{"sig":"MEQCIDWU094rOWAOgKTujisoCV4dRXpggKJRZJNrcgm3ChABAiBuF9RPhk3mpUJgOpSK5bBWUebhw8g+PJE3c7lPT8laiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21116},"main":"src/index.js","gitHead":"ad891f6d483c9e0001dadada047a8131563cffbd","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.0_1689040586371_0.7329676600737653","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.1","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.1","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa#readme","bugs":{"url":"https://github.com/andresayac/bot-wa/issues"},"dist":{"shasum":"cc06b6ad52df9cd9d7fe477d837a396b0086994a","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.1.tgz","fileCount":3,"integrity":"sha512-rMUFfRe+iqSbfCCvYJ7Z7+f9rO73EY9jkv/FobVwR9uP5gHKxyLXhH6gb/2dzTxLsBsPNgG4QQ75Gqg4j+NOAw==","signatures":[{"sig":"MEUCIQCzmfFT/k9IcYMJRnclw9/N9x17ji00HyXEAXrjx9K9zQIgc+hduQEii4NkcOkErGBVOyNYjGpVAI+dnZI11jznGs0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21161},"main":"src/index.js","type":"module","exports":{},"gitHead":"ad891f6d483c9e0001dadada047a8131563cffbd","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.1_1689041280032_0.4266075534751781","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.2","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.2","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa#readme","bugs":{"url":"https://github.com/andresayac/bot-wa/issues"},"dist":{"shasum":"13ad1804f9959e4b4b84261ecaa517db7c5dd7e5","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.2.tgz","fileCount":3,"integrity":"sha512-5Yqb2btUVpwZUItU2YWCg2wpyRfoy9Ef0tFkVKPjYUMgJLdIJIjIBaBCDYP7dJXF7xNzMqNfqFFXMH7CE4kagQ==","signatures":[{"sig":"MEYCIQCjiSkVifFYfLK3AZ6fk7KfL3FJ8do+u3IYB6S3NFMf+wIhALknONK7atC1q9SaT0c+6dLFyZ8+p3pyRzHIi6YpcSSQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21163},"main":"src/baileys.js","type":"module","exports":{},"gitHead":"ad891f6d483c9e0001dadada047a8131563cffbd","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.2_1689041365349_0.35134457780510764","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.3","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.3","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"56939f8cfd5dc27b365314037b98509c0bfdfcdf","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.3.tgz","fileCount":5,"integrity":"sha512-DiSCgFzPVU4lWlq7wqFVjqZLciEa6SOKIT5kHGIDjqR9aPPvGt2YBPpV7xQTpKqX6oTrGSuVBNekcEnOEhYxww==","signatures":[{"sig":"MEUCIQC4q9SGwaKOB6bYkpbZFvOiTRqDFtQA+/SPZ3GjICjn9wIgaKVIg+zWxByTgufPUnBYb4bAOvIomjJ7SI4xejQFFZs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28636},"main":"src/baileys.js","type":"module","exports":{},"gitHead":"a4027604d2af4180aa43cfeda6d77a3827ee1837","scripts":{"example":"node test/bot.js","example-bot-whatsapp-json":"node test/bot-whatsapp-json.js","example-bot-whatsapp-mongo":"node test/bot-whatsapp-mongo.js","example-bot-whatsapp-mysql":"node test/bot-whatsapp-mysql.js","example-bot-whatsapp-memory":"node test/bot-whatsapp-memory.js"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.3_1689041910578_0.07560846025498935","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.4","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.4","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"80f9bc87d7eff598ecf52dee8339c2ca1067fff5","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.4.tgz","fileCount":7,"integrity":"sha512-Mxs9qfpKNnnzaAInTkYIxkcogEGz7PWgj5MvTbgo/WtpzMOjZnj12rqYO4Dc/FH1VqBPU3gaWWw88XKWWk+TkA==","signatures":[{"sig":"MEYCIQDwjoktUDs96k6qlWhvx1GLaIns6jnW/6K16OmXHNUoBAIhAOvvvpQL6pyZpbvpzMitCj2mEFnPTgA1Hlb9iHLgQEuh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40099},"main":"dist/baileys.js","types":"dist/baileys.d.ts","gitHead":"a4027604d2af4180aa43cfeda6d77a3827ee1837","scripts":{"build":"tsc","example":"node test/bot.js","example-bot-whatsapp-json":"node test/bot-whatsapp-json.js","example-bot-whatsapp-mongo":"node test/bot-whatsapp-mongo.js","example-bot-whatsapp-mysql":"node test/bot-whatsapp-mysql.js","example-bot-whatsapp-memory":"node test/bot-whatsapp-memory.js"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.1","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.4_1689045925465_0.24924682939031584","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.5","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.5","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"7675e3bffe80ab489a3c62a79dffeaac08e8d06f","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.5.tgz","fileCount":7,"integrity":"sha512-CQDap9TU5A7/KFjxQS0yPCAbc3KTu6y5JyAsJDxsvBS/bmt22Z6eV07EtyJt4mmEvRTEwKB0XjzLb0wpzMisBQ==","signatures":[{"sig":"MEUCIQCoAYFuG4+Ts6fdzADtCjcXbQb01tSI2Wqfx6fPiAGbswIgTAn0fTzhZ5Ifog7AhG7yZcWs9VWKBB8EbaYH8C0An7w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40097},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"a4027604d2af4180aa43cfeda6d77a3827ee1837","scripts":{"build":"tsc","example":"node test/bot.js","example-bot-whatsapp-json":"node test/bot-whatsapp-json.js","example-bot-whatsapp-mongo":"node test/bot-whatsapp-mongo.js","example-bot-whatsapp-mysql":"node test/bot-whatsapp-mysql.js","example-bot-whatsapp-memory":"node test/bot-whatsapp-memory.js"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.1","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.5_1689045971579_0.46492799709620414","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.6","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.6","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"a4f1752b4016a59a77e861cd35e74a1491790a4c","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.6.tgz","fileCount":7,"integrity":"sha512-WcWPPTKZXJBIyAYRtLXBmwY41WHYE9sMR97gn76YfkN6clOjZyQcO1ga3kQb32ZxksF/QBosKli7Dpr0Qu/ptw==","signatures":[{"sig":"MEYCIQDX5vX2Xuk2rWFVVA+P9HszTsa6A8paLB/9rfcjRn/pMgIhAPDZiuov1nEphE9gauT/KsITJ65sH4O9I15jTwApoDvD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40097},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"a4027604d2af4180aa43cfeda6d77a3827ee1837","scripts":{"build":"tsc","example":"node test/bot.js","example-bot-whatsapp-json":"node test/bot-whatsapp-json.js","example-bot-whatsapp-mongo":"node test/bot-whatsapp-mongo.js","example-bot-whatsapp-mysql":"node test/bot-whatsapp-mysql.js","example-bot-whatsapp-memory":"node test/bot-whatsapp-memory.js"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.1","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.6_1689046447042_0.05188712909264748","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.7","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.7","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"e160f08cfba01b29eabbd0c63cededfaa5bea8e0","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.7.tgz","fileCount":7,"integrity":"sha512-zmsZ9WzFChUhQVmmRU7PQX5RfrtymwxtL0SwzWNUMnFMwkXosi2+LddjG95WVSi9NJjFRljGnuFv5lApsgBUGw==","signatures":[{"sig":"MEUCICVU8/nVY/Ms+lg6chcXYg/RWomiL3PlSs5Iy5oGcvBIAiEA0JWld41HQu1b10WnoF930bHnZNaUfa3DFADwZ7s9cuM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40122},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"a4027604d2af4180aa43cfeda6d77a3827ee1837","scripts":{"build":"tsc","example":"node test/bot.js","example-bot-whatsapp-json":"node test/bot-whatsapp-json.js","example-bot-whatsapp-mongo":"node test/bot-whatsapp-mongo.js","example-bot-whatsapp-mysql":"node test/bot-whatsapp-mysql.js","example-bot-whatsapp-memory":"node test/bot-whatsapp-memory.js"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.1","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.7_1689046662067_0.2867138001331191","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.8","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.8","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"88c9386c4eaff9ff4d56c9f374e4bf662f4c4caf","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.8.tgz","fileCount":7,"integrity":"sha512-jD/z/RpL/+h5/m4apRRoIvWqT0mmaa/fZHCX772wEo2TVY6QqfWi5/TWY8tlde0WmEZ5/msLAHbRUkzq3N632Q==","signatures":[{"sig":"MEYCIQCU34i5QK7VwXLsctzFC+Cvu4DLRdZjHaASECSke4Ye6QIhAOLskyGE6G+cPf650B3tRr6MFtZUJ29Af8G1QLBE2L4A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40569},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"a4027604d2af4180aa43cfeda6d77a3827ee1837","scripts":{"build":"tsc","example":"node test/bot.js","example-bot-whatsapp-json":"node test/bot-whatsapp-json.js","example-bot-whatsapp-mongo":"node test/bot-whatsapp-mongo.js","example-bot-whatsapp-mysql":"node test/bot-whatsapp-mysql.js","example-bot-whatsapp-memory":"node test/bot-whatsapp-memory.js"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.1","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.8_1689047622863_0.5035179825220131","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@bot-wa/bot-wa-baileys","version":"1.0.9","keywords":["bot"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.0.9","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"0669417a424da69d5c7d60b31342988cca449ae5","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.0.9.tgz","fileCount":7,"integrity":"sha512-UyhtYCYrveuExm2+aBYBewSUv5lXwi3gwIrmAhNcp4vNkJAPg29+AqG3/lzi6AnrT4eIWPusDFP0JHFJ0m7rZw==","signatures":[{"sig":"MEUCIQCC8CySXpu4AyNLRfoaBRIFyn9okf/rk8q4E3gEInLU2gIgNKiIIZDdGtPg3HP0Kg5fMaPNJ295pcR5YCwhqtybx9Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43782},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"60ee535aea8b83a9e26bfa83b9f0db0874f1c0aa","scripts":{"build":"tsc","example":"node test/bot.mjs","example-bot-whatsapp-json":"tsc && node test/bot-whatsapp-json.mjs","example-bot-whatsapp-mongo":"tsc && node test/bot-whatsapp-mongo.mjs","example-bot-whatsapp-mysql":"tsc && node test/bot-whatsapp-mysql.mjs","example-bot-whatsapp-memory":"tsc && node test/bot-whatsapp-memory.mjs"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"qr-image":"^3.2.0","fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","@bot-whatsapp/bot":"latest","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@bot-whatsapp/database":"latest","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.1","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.0.9_1689092091195_0.06657776102074253","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@bot-wa/bot-wa-baileys","version":"1.1.0","keywords":["bot","baileys","whatsapp","bot-whatsapp","flow"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.1.0","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"7046982dd16c2025dd5e7ea6eaaba8c5570ddc22","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.1.0.tgz","fileCount":7,"integrity":"sha512-n3+BIk8v3vtHf4wJHsRP6TOtod7RCG/RVf+9msd3hxXlj4f2S3GDFOnLjK44oc7DD8DR4pJ2/MxfbIS7JcBfJg==","signatures":[{"sig":"MEUCICnsroth45TRjH6qcpW8N5wSBda6GfExcW5cblCoFEeJAiEA2hcNKApRyjuQtwABqunyP2GmngFP5TYmVvUnokcTOQo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43991},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"e55b13cf3f256792d6316569cc0d96024f10caef","scripts":{"build":"tsc","example":"node test/bot.mjs","example-bot-whatsapp-json":"tsc && node test/bot-whatsapp-json.mjs","example-bot-whatsapp-mongo":"tsc && node test/bot-whatsapp-mongo.mjs","example-bot-whatsapp-mysql":"tsc && node test/bot-whatsapp-mysql.mjs","example-bot-whatsapp-memory":"tsc && node test/bot-whatsapp-memory.mjs"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"qr-image":"^3.2.0","fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","wa-sticker-formatter":"^4.4.4","@adiwajshing/keyed-db":"^0.2.4","@whiskeysockets/baileys":"^6.3.1","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.1","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.1.0_1689092979255_0.03608108120123732","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@bot-wa/bot-wa-baileys","version":"1.1.1","keywords":["bot","baileys","whatsapp","bot-whatsapp","flow","chatbot","whatsapp"],"author":"","license":"ISC","_id":"@bot-wa/bot-wa-baileys@1.1.1","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"2e004b176232c298bb88a5b65258c228a4af655c","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.1.1.tgz","fileCount":7,"integrity":"sha512-InQzPFwz9SMlJ3yTmWSUhINJVGstuYPi8z17H6tbLke+9hJErwrsxHpfjkLx0BEw0ztAJV60+S/Fc3byCqmY7g==","signatures":[{"sig":"MEYCIQDgsSo3p7Glpa7Wfru1ov6kKCtW1r3wA5cdfOhCqgGPsAIhAO4XVUDQVUyd1rX0ic4G38f2k2+tySRc+RghzmcmU9JV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44005},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"a950cd28e3271cb81e09627b95facd37320aff80","scripts":{"build":"tsc","example":"tsc && node -r ts-node/register examples/bot.ts","example-bot-whatsapp-json":"tsc && node -r ts-node/register examples/bot-whatsapp-json.mjs","example-bot-whatsapp-mongo":"tsc && node -r ts-node/register examples/bot-whatsapp-mongo.mjs","example-bot-whatsapp-mysql":"tsc && node -r ts-node/register examples/bot-whatsapp-mysql.mjs","example-bot-whatsapp-memory":"tsc && node -r ts-node/register examples/bot-whatsapp-memory.mjs"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"qr-image":"^3.2.0","fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","wa-sticker-formatter":"^4.4.4","@whiskeysockets/baileys":"^6.4.0","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.5","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.1.1_1690331131298_0.5056047180324579","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@bot-wa/bot-wa-baileys","version":"1.1.2","keywords":["bot","baileys","whatsapp","bot-whatsapp","flow","chatbot","whatsapp"],"author":{"name":"Andres Aya"},"license":"MIT","_id":"@bot-wa/bot-wa-baileys@1.1.2","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"771c867fe8ded678a90a7b36425b6bbcdf40c862","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.1.2.tgz","fileCount":7,"integrity":"sha512-lbFS/GYevQFchWmMbtX+pgTcyFb3femNpZPCQudeHxqyal9WPTg7Flxd6WnlaReD597luxaj3WE5Z9LmRglf+Q==","signatures":[{"sig":"MEYCIQCS32UGCiDWVDueZz8p8gK3+P/m21YLr3gO4YtMjERpyAIhAP+IYoUvCnAx3drdVeNdGgQXWsAxIAgvq+HIikrBTjGC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47268},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"1dcc2e088115ab71e30c3aaf88250e8d219bfa8e","scripts":{"build":"tsc","example":"tsc && node -r ts-node/register examples/bot.ts","example-bot-whatsapp-json":"tsc && node -r ts-node/register examples/bot-whatsapp-json.mjs","example-bot-whatsapp-mongo":"tsc && node -r ts-node/register examples/bot-whatsapp-mongo.mjs","example-bot-whatsapp-mysql":"tsc && node -r ts-node/register examples/bot-whatsapp-mysql.mjs","example-bot-whatsapp-memory":"tsc && node -r ts-node/register examples/bot-whatsapp-memory.mjs"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"qr-image":"^3.2.0","fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","wa-sticker-formatter":"^4.4.4","@whiskeysockets/baileys":"^6.4.0","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.5","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.1.2_1691256035896_0.29010721343117263","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@bot-wa/bot-wa-baileys","version":"1.1.3","keywords":["bot","baileys","whatsapp","bot-whatsapp","flow","chatbot","whatsapp"],"author":{"name":"Andres Aya"},"license":"MIT","_id":"@bot-wa/bot-wa-baileys@1.1.3","maintainers":[{"name":"bot-wa","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"50670da9b48e973c8dc7b3661975de2a532afe92","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.1.3.tgz","fileCount":7,"integrity":"sha512-BTC6B9vwRAhYl4VqfuvE3Uf49o/AqL0ugYDmRHZ4Z9yOsXqCx0r1DuMypI49ZlUJABERFqKiOiC+hRUbmEV+qg==","signatures":[{"sig":"MEYCIQDeNxQfAnc9dz+l5Vg4hHYk0fyi+NK/nfq8UMQf3xMceAIhANpIMcikuI+C7cL/mBOI72FptYcqkHHXwuXUx372gcDg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47301},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"934c1d94f0c3ec57552f8e64640ee3fd3968ba26","scripts":{"build":"tsc","example":"tsc && node -r ts-node/register examples/bot.ts","example-bot-whatsapp-json":"tsc && node -r ts-node/register examples/bot-whatsapp-json.mjs","example-bot-whatsapp-mongo":"tsc && node -r ts-node/register examples/bot-whatsapp-mongo.mjs","example-bot-whatsapp-mysql":"tsc && node -r ts-node/register examples/bot-whatsapp-mysql.mjs","example-bot-whatsapp-memory":"tsc && node -r ts-node/register examples/bot-whatsapp-memory.mjs"},"_npmUser":{"name":"bot-wa","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"9.5.1","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"18.16.0","dependencies":{"qr-image":"^3.2.0","fluent-ffmpeg":"^2.1.2","qrcode-terminal":"^0.12.0","wa-sticker-formatter":"^4.4.4","@whiskeysockets/baileys":"^6.4.0","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.4.5","@types/mime-types":"^2.1.1","@types/fluent-ffmpeg":"^2.1.21"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.1.3_1691257200240_0.6110515536725178","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@bot-wa/bot-wa-baileys","version":"1.1.4","keywords":["bot","baileys","whatsapp","bot-whatsapp","flow","chatbot","whatsapp"],"author":{"name":"Andres Aya"},"license":"MIT","_id":"@bot-wa/bot-wa-baileys@1.1.4","maintainers":[{"name":"andresaya","email":"andresayac@gmail.com"}],"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"dist":{"shasum":"e59cd6da3adadb306269002127a35ec8dc1c7972","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.1.4.tgz","fileCount":7,"integrity":"sha512-TaeOGmMeo6QsllWFRydcXRz/vwpZBcpQiE5Z1WFG199vdF4sHkb2adikeE5TtqRAuqQrPT7PcBkTrIkOOMEUDA==","signatures":[{"sig":"MEUCIDZ4QawV9KAvOSpz/M6TMsuOysLJQS83TWe9PPHfYETJAiEAnDmNC6CjSfu7CLKsMdpDSkxu8E2KiPTX739JlG9Gs4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45371},"main":"lib/baileys.js","types":"lib/baileys.d.ts","gitHead":"6c7796c39298d773934f1f58435da41bdb87d4ca","scripts":{"build":"tsc","example":"tsc && node -r ts-node/register examples/bot.ts"},"_npmUser":{"name":"andresaya","email":"andresayac@gmail.com"},"repository":{"url":"git+https://github.com/andresayac/bot-wa-baileys.git","type":"git"},"_npmVersion":"10.8.2","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","directories":{},"_nodeVersion":"22.8.0","dependencies":{"qr-image":"^3.2.0","fluent-ffmpeg":"^2.1.3","qrcode-terminal":"^0.12.0","@whiskeysockets/baileys":"^6.7.8","@ffmpeg-installer/ffmpeg":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.6.2","@types/node":"^22.5.5","@types/mime-types":"^2.1.4","@types/fluent-ffmpeg":"^2.1.26"},"_npmOperationalInternal":{"tmp":"tmp/bot-wa-baileys_1.1.4_1727022764711_0.48314321371057467","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@bot-wa/bot-wa-baileys","version":"1.1.5","description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","main":"lib/baileys.js","types":"lib/baileys.d.ts","scripts":{"build":"tsc","example":"tsc && node -r ts-node/register examples/bot.ts"},"repository":{"type":"git","url":"git+https://github.com/andresayac/bot-wa-baileys.git"},"keywords":["bot","baileys","whatsapp","bot-whatsapp","flow","chatbot","whatsapp"],"dependencies":{"@ffmpeg-installer/ffmpeg":"^1.1.0","@whiskeysockets/baileys":"^6.7.9","fluent-ffmpeg":"^2.1.3","qr-image":"^3.2.0","qrcode-terminal":"^0.12.0"},"author":{"name":"Andres Aya"},"license":"MIT","bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"homepage":"https://github.com/andresayac/bot-wa-baileys#readme","devDependencies":{"@types/fluent-ffmpeg":"^2.1.26","@types/mime-types":"^2.1.4","@types/node":"^22.7.8","ts-node":"^10.9.2","typescript":"^5.6.3"},"_id":"@bot-wa/bot-wa-baileys@1.1.5","gitHead":"583099d1b50f0be9dd3fa3f0794552e26c2170a9","_nodeVersion":"22.8.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-4Af2MGUTgRoZ6v0hp8fjgseY52Cc0f9bhj1ceo12fYKeaC2wKkW5U4b9tieUVqIQnOvg/b6WMH0xeB2AnEenng==","shasum":"bf693987a3e5b5927acf97f392f9599d7433985d","tarball":"https://registry.npmjs.org/@bot-wa/bot-wa-baileys/-/bot-wa-baileys-1.1.5.tgz","fileCount":7,"unpackedSize":45307,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAi3rMn4A9pz9QhN9X+1MefmP19xKzfr8dFGqR7HqNB/AiEA6yb3p2vaGRIjuDuIDpK/Yt57KNZYERYkt8EhgdnaOc0="}]},"_npmUser":{"name":"andresaya","email":"andresayac@gmail.com"},"directories":{},"maintainers":[{"name":"andresaya","email":"andresayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bot-wa-baileys_1.1.5_1729644208173_0.9239253453332412"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-11T01:56:26.248Z","modified":"2024-10-23T00:43:28.552Z","1.0.0":"2023-07-11T01:56:26.538Z","1.0.1":"2023-07-11T02:08:00.202Z","1.0.2":"2023-07-11T02:09:25.531Z","1.0.3":"2023-07-11T02:18:30.992Z","1.0.4":"2023-07-11T03:25:25.715Z","1.0.5":"2023-07-11T03:26:11.816Z","1.0.6":"2023-07-11T03:34:07.219Z","1.0.7":"2023-07-11T03:37:42.312Z","1.0.8":"2023-07-11T03:53:43.015Z","1.0.9":"2023-07-11T16:14:51.376Z","1.1.0":"2023-07-11T16:29:39.476Z","1.1.1":"2023-07-26T00:25:31.490Z","1.1.2":"2023-08-05T17:20:36.083Z","1.1.3":"2023-08-05T17:40:00.399Z","1.1.4":"2024-09-22T16:32:44.948Z","1.1.5":"2024-10-23T00:43:28.356Z"},"bugs":{"url":"https://github.com/andresayac/bot-wa-baileys/issues"},"author":{"name":"Andres Aya"},"license":"MIT","homepage":"https://github.com/andresayac/bot-wa-baileys#readme","keywords":["bot","baileys","whatsapp","bot-whatsapp","flow","chatbot","whatsapp"],"repository":{"type":"git","url":"git+https://github.com/andresayac/bot-wa-baileys.git"},"description":"Creacte a bot for whatsapp with baileys library or bot-whatsapp","maintainers":[{"name":"andresaya","email":"andresayac@gmail.com"}],"readme":"# Bot Baileys\r\n\r\nThis repository contains a WhatsApp bot implemented in JavaScript using the [@whiskeysockets/baileys](https://github.com/WhiskeySockets/Baileys) library.\r\n\r\n## baileys.js\r\n\r\nThis file is a JavaScript module that exports the `BaileysClass`, which extends `EventEmitter`. This class has several methods for sending different types of messages through WhatsApp, such as text, images, videos, audios, files, buttons, polls, locations, contacts, and stickers.\r\n\r\n\r\n## Install\r\n\r\nUse the stable version:\r\n```\r\nnpm i @bot-wa/bot-wa-baileys\r\n```\r\n\r\nThen import your code using:\r\n``` ts \r\nimport { BaileysClass } from '@bot-wa/bot-wa-baileys'\r\n```\r\n``` js \r\nconst { BaileysClass } = require('@bot-wa/bot-wa-baileys');\r\n```\r\n\r\n## Example\r\n\r\nFollow these steps to deploy the application:\r\n\r\n- Clone this repository: `https://github.com/andresayac/bot-wa-baileys.git`\r\n- Enter the `bot-wa-baileys` directory\r\n- Run the command `pnpm i`\r\n- Run the command `pnpm run example` to start the bot\r\n- Scan the QR code in WhatsApp as if it were WhatsApp Web. You can find the QR code in `qr.png` or terminal\r\n- Done!\r\n\r\n### Key Methods\r\n\r\n- `initBailey`: Initializes the connection with WhatsApp.\r\n- `setUpBaileySock`: Sets up the connection socket with WhatsApp.\r\n- `handleConnectionUpdate`: Handles updates to the connection with WhatsApp.\r\n- `busEvents`: Defines various events that the bot can handle.\r\n- `sendMessage`, `sendMedia`, `sendImage`, `sendVideo`, `sendAudio`, `sendText`, `sendFile`, `sendPoll`, `sendLocation`, `sendContact`, `sendPresenceUpdate`, `sendSticker`: Methods for sending different types of messages through WhatsApp.\r\n\r\n### Deprecated Methods\r\n- `sendButtons`: It will be removed in the next update\r\n\r\n#### Method Parameters\r\n\r\n- `sendMessage(numberIn, message, options)`: Sends a message to a given phone number. The message can include additional options like buttons or media.\r\n- `sendMedia(number, mediaUrl, text)`: Sends media to a given phone number. The media is specified by a URL, and additional text can be sent along with the media.\r\n- `sendImage(number, filePath, text)`: Sends an image to a given phone number. The image is specified by a file path, and additional text can be sent along with the image.\r\n- `sendVideo(number, filePath, text)`: Sends a video to a given phone number. The video is specified by a file path, and additional text can be sent along with the video.\r\n- `sendAudio(number, audioUrl)`: Sends audio to a given phone number. The audio is specified by a URL.\r\n- `sendText(number, message)`: Sends a text message to a given phone number.\r\n- `sendFile(number, filePath)`: Sends a file to a given phone number. The file is specified by a file path.\r\n- `sendPoll(number, text, poll)`: Sends a poll to a given phone number. The poll options are displayed along with a given text.\r\n- `sendLocation(remoteJid, latitude, longitude, messages)`: Sends a location to a given chat ID. The location is specified by latitude and longitude, and additional messages can be sent along with the location.\r\n- `sendContact(remoteJid, contactNumber, displayName, messages)`: Sends a contact to a given chat ID. The contact is specified by a phone number and a display name, and additional messages can be sent along with the contact.\r\n- `sendPresenceUpdate(remoteJid, WAPresence)`: Sends a presence update (e.g., \"recording\") to a given chat ID.\r\n- `sendSticker(remoteJid, url, stickerOptions, messages)`: Sends a sticker to a given chat ID. The sticker is specified by a URL, and additional messages can be sent along with the sticker.\r\n\r\nPlease note that these methods are asynchronous, meaning they return a promise that resolves once the action is completed.\r\n\r\n\r\n### Usage QR CODE\r\n\r\nHere is an example of how to use the `BaileysClass`:\r\n\r\n```javascript\r\nimport {BaileysClass} from '@bot-wa/bot-wa-baileys';\r\n\r\nconst botBaileys = new BaileysClass({});\r\n\r\nbotBaileys.on('auth_failure', async (error) => console.log(\"ERROR BOT: \", error));\r\nbotBaileys.on('qr', (qr) => console.log(\"NEW QR CODE: \", qr));\r\nbotBaileys.on('ready', async () => console.log('READY BOT'))\r\n\r\nlet awaitingResponse = false;\r\n\r\nbotBaileys.on('message', async (message) => {\r\n    if (!awaitingResponse) {\r\n        await botBaileys.sendPoll(message.from, 'Select an option', {\r\n            options: ['text', 'media', 'file', 'sticker'],\r\n            multiselect: false\r\n        });\r\n        awaitingResponse = true;\r\n    } else {\r\n        const command = message.body.toLowerCase().trim();\r\n        switch (command) {\r\n            case 'text':\r\n                await botBaileys.sendText(message.from, 'Hello world');\r\n                break;\r\n            case 'media':\r\n                await botBaileys.sendMedia(message.from, 'https://www.w3schools.com/w3css/img_lights.jpg', 'Hello world');\r\n                break;\r\n            case 'file':\r\n                await botBaileys.sendFile(message.from, 'https://github.com/pedrazadixon/sample-files/raw/main/sample_pdf.pdf');\r\n                break;\r\n            case 'sticker':\r\n                await botBaileys.sendSticker(message.from, 'https://gifimgs.com/animations/anime/dragon-ball-z/Goku/goku_34.gif', { pack: 'User', author: 'Me' });\r\n                break;\r\n            default:\r\n                await botBaileys.sendText(message.from, 'Sorry, I did not understand that command. Please select an option from the poll.');\r\n                break;\r\n        }\r\n        awaitingResponse = false;\r\n    }\r\n});\r\n```\r\n\r\n### Usage Pairing Code\r\n\r\nHere is an example of how to use the `BaileysClass`:\r\n\r\n```javascript\r\nimport {BaileysClass} from '@bot-wa/bot-wa-baileys';\r\n\r\nconst botBaileys = new BaileysClass({ usePairingCode: true, phoneNumber: 'XXXXXXXXXXX' });\r\n\r\nbotBaileys.on('auth_failure', async (error) => console.log(\"ERROR BOT: \", error));\r\nbotBaileys.on('pairing_code', (code) => console.log(\"NEW PAIRING CODE: \", code));\r\nbotBaileys.on('ready', async () => console.log('READY BOT'))\r\n\r\nlet awaitingResponse = false;\r\n\r\nbotBaileys.on('message', async (message) => {\r\n    if (!awaitingResponse) {\r\n        await botBaileys.sendPoll(message.from, 'Select an option', {\r\n            options: ['text', 'media', 'file', 'sticker'],\r\n            multiselect: false\r\n        });\r\n        awaitingResponse = true;\r\n    } else {\r\n        const command = message.body.toLowerCase().trim();\r\n        switch (command) {\r\n            case 'text':\r\n                await botBaileys.sendText(message.from, 'Hello world');\r\n                break;\r\n            case 'media':\r\n                await botBaileys.sendMedia(message.from, 'https://www.w3schools.com/w3css/img_lights.jpg', 'Hello world');\r\n                break;\r\n            case 'file':\r\n                await botBaileys.sendFile(message.from, 'https://github.com/pedrazadixon/sample-files/raw/main/sample_pdf.pdf');\r\n                break;\r\n            case 'sticker':\r\n                await botBaileys.sendSticker(message.from, 'https://gifimgs.com/animations/anime/dragon-ball-z/Goku/goku_34.gif', { pack: 'User', author: 'Me' });\r\n                break;\r\n            default:\r\n                await botBaileys.sendText(message.from, 'Sorry, I did not understand that command. Please select an option from the poll.');\r\n                break;\r\n        }\r\n        awaitingResponse = false;\r\n    }\r\n});\r\n```\r\n\r\n### Acknowledgements\r\n\r\nThis project was inspired by ideas and code from the [bot-whatsapp](https://github.com/codigoencasa/bot-whatsapp) repository by codigoencasa. Their work on creating automated conversation flows and setting up automated responses for frequently asked questions was particularly influential. We appreciate their contributions to the open-source community and their work on WhatsApp bot development.\r\n\r\n\r\n### Contribution\r\nIf you want to contribute to this project, feel free to do so. Any type of improvement, bug fix or new features are welcome.\r\n\r\n### Licencia\r\n\r\nThis project is licensed under the [MIT](LICENSE).\r\n\r\n","readmeFilename":"README.md"}