Pubkey for a group? What do you mean? Nevent allows to encode arbitrary event id an relay info but clients still need to get the event and show the right thing depending on the kind.
Discussion
Yes sorry, I meant to say event id. The point is, is there a way to know what's the kind of it prior to send a request to a relay?