Skip to content

Instantly share code, notes, and snippets.

View rfm147's full-sized avatar

Renato Medeiros rfm147

View GitHub Profile
@rfm147
rfm147 / WhatsAppGroupContactExport.js
Last active September 5, 2024 18:27 — forked from mzahidriaz/WhatsAppGroupContactExport.js
WhatsApp Group Contacts Export: This will download the members of group with their phone number, whatsapp name and if contact is stored on phone
class ContactFinder {
#db;
#chatToFind;
#dbName = "model-storage";
#chatsCol = "group-metadata"; // Changed from "chat" to "group-metadata" to search in the groups table instead of Chat
#contactCol = "contact";
#groupCol = "participant";
constructor(chatGroupName) {
this.#chatToFind = chatGroupName;