@wppconnect-team/wppconnect - v1.36.4
    Preparing search index...

    Function setPrivacyForOneCategory

    • For set privacy who can you see your last seen, profile pic, or status

      Parameters

      • attrs: {
            dhash?: any;
            name: "status" | "last" | "profile";
            users?: { action: "add" | "remove"; wid: WAJS.whatsapp.Wid }[];
            value: "contacts" | "all" | "contact_blacklist" | "none";
        }
      • OptionaldisallowedList: WAJS.whatsapp.Wid[]

      Returns Promise<void>

    • set privacy for who has permission to add a group

      Parameters

      • attrs: {
            dhash?: any;
            name: "groupadd";
            users?: { action: "add" | "remove"; wid: WAJS.whatsapp.Wid }[];
            value: "contacts" | "all" | "contact_blacklist";
        }
      • OptionaldisallowedList: WAJS.whatsapp.Wid[]

      Returns Promise<void>

    • For set privacy who can you see your last online

      Parameters

      • attrs: { name: "online"; value: "all" | "match_last_seen" }

      Returns Promise<void>

    • For set privacy who can you see your read receipts

      Parameters

      • attrs: { name: "readreceipts"; value: "all" | "none" }

      Returns Promise<void>