func (p *ProfilesClient) ListByID(ctx context.Context, userIDs []identity.ID) (*[]apitypes.Profile, error) {
	v := &url.Values{}
	for _, id := range userIDs {
		v.Add("id", id.String())
	}

	req, _, err := p.client.NewRequest("GET", "/profiles", v, nil, true)
	if err != nil {
		return nil, err
	}

	results := []apitypes.Profile{}
	_, err = p.client.Do(ctx, req, &results, nil, nil)
	if err != nil {
		return nil, err
	}

	return &results, nil
}
// ListByID returns profiles looked up by User ID
ListByID returns profiles looked up by User ID
// ListByID returns profiles looked up by User ID
func (p *ProfilesClient) ListByID(ctx context.Context, userIDs []identity.ID) (*[]apitypes.Profile, error) {
	v := &url.Values{}
	for _, id := range userIDs {
		v.Add("id", id.String())
	}
	req, _, err := p.client.NewRequest("GET", "/profiles", v, nil, true)
	if err != nil {
		return nil, err
	}
	results := []apitypes.Profile{}
	_, err = p.client.Do(ctx, req, &results, nil, nil)
	if err != nil {
		return nil, err
	}
	return &results, nil
}
func ( p * ProfilesClient ) ListByID ( ctx context . Context , userIDs [ ] identity . ID ) ( * [ ] apitypes . Profile , error ) { v := & url . Values { } for _ , id := range userIDs { v . Add ( " " , id . String ( ) ) } req , _ , err := p . client . NewRequest ( " " , " " , v , nil , true ) if err != nil { return nil , err } results := [ ] apitypes . Profile { } _ , err = p . client . Do ( ctx , req , & results , nil , nil ) if err != nil { return nil , err } return & results , nil }
ListByID returns profiles looked up by User ID
ListByID returns profiles looked up by User ID