• Get the currend invite code of the group

    Parameters

    Returns Promise<string>

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