Function setPrivacyForOneCategory
- setPrivacyForOneCategory(attrs, disallowedList?): Promise<void>
Parameters
- attrs: {
dhash?: any;
name: "status" | "last" | "profile";
users?: {
action: "add" | "remove";
wid: WAJS.whatsapp.Wid;
}[];
value:
| "contacts"
| "all"
| "contact_blacklist"
| "none";
}Optional
dhash?: any
name: "status" | "last" | "profile"
Optional
users?: {
action: "add" | "remove";
wid: WAJS.whatsapp.Wid;
}[]
value:
| "contacts"
| "all"
| "contact_blacklist"
| "none"
Optional
disallowedList: WAJS.whatsapp.Wid[]
Returns Promise<void>
- setPrivacyForOneCategory(attrs, disallowedList?): Promise<void>
Parameters
- attrs: {
dhash?: any;
name: "groupadd";
users?: {
action: "add" | "remove";
wid: WAJS.whatsapp.Wid;
}[];
value: "contacts" | "all" | "contact_blacklist";
}Optional
dhash?: any
name: "groupadd"
Optional
users?: {
action: "add" | "remove";
wid: WAJS.whatsapp.Wid;
}[]
value: "contacts" | "all" | "contact_blacklist"
Optional
disallowedList: WAJS.whatsapp.Wid[]
Returns Promise<void>
- setPrivacyForOneCategory(attrs): Promise<void>
Parameters
- attrs: {
name: "online";
value: "all" | "match_last_seen";
}name: "online"
value: "all" | "match_last_seen"
Returns Promise<void>
- setPrivacyForOneCategory(attrs): Promise<void>
Parameters
- attrs: {
name: "readreceipts";
value: "all" | "none";
}name: "readreceipts"
value: "all" | "none"
Returns Promise<void>
For set privacy who can you see your last seen, profile pic, or status