• Get the currend invite code of the group

    Parameters

    • groupId: string | Wid

    Returns Promise<string>

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