game-common / pragma.friend / PresenceApi / setRichPresence /

setRichPresence #

suspend fun setRichPresence(playerId: <ERROR CLASS>, requestExt: ExtRichPresenceBackendRequest): PragmaResult<Unit, PragmaFailure>

Request to set the rich presence for a player.

Parameters #

playerId

The id of the player to set the rich presence for.

requestExt

The data to be sent along with the request.