join_group_with_link
Join a WhatsApp group using an invite link or code. Existing members see a 'joined via invite link' message; returns the group's JID.
Instructions
Join a WhatsApp group via a chat.whatsapp.com/<code> invite URL or the bare invite code; existing members see a joined via invite link system message and the new chat appears for the paired user. Reversible via leave_group (which is itself permanent). Use get_group_invite_link to mint or read invite links. Returns a JSON object {jid} containing the joined group's JID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_or_code | Yes | full invite URL (`https://chat.whatsapp.com/<code>`) or just the trailing invite code |