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

setRichPresence #

suspend fun setRichPresence(socialId: <ERROR CLASS>, requestExt: ExtRichPresenceBackendRequest): PragmaResult<Unit, ServiceError>

Request to set the rich presence for a player.

Parameters #

socialId

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

requestExt

The data to be sent along with the request.

Throws #

PresenceNotFound

if a presence is not found for the player.