client_getCommonGroups
Retrieves the list of WhatsApp groups shared with a specified contact. Returns an empty array when no common groups exist, making it easy to identify mutual group connections.
Instructions
[Client] Get the contact's common groups. Get the contact's common groups with you. Returns empty array if you don't have any common group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | No | The whatsapp user's ID (_serialized format) | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |