• Revoke the current invite code and generate new one.

    Parameters

    • groupId: string | Wid

    Returns Promise<string>

    const code = WPP.group.revokeInviteCode('[group-id]@g.us');
    const link = 'https://chat.whatsapp.com/' + code;