Set the lobby permission to EOS_LPL_JOINVIAPRESENCE, send an invite to the player using EOS_Lobby_SendInvite, and share the lobby ID with the player in the Steam’s rich presence payload. The player invited will be able to find the lobby using EOS_LobbySearch_SetLobbyId and join it. Note that they…
https://dev.epicgames.com/community/learning/knowledge-base/aqY5l/epic-online-services-how-to-get-steam-s-rich-presence-invites-to-work-with-eos-invite-only-private-lobbies