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