game / pragma.party / PartyService / sendInviteV1 /

sendInviteV1 #

suspend fun sendInviteV1(session: PlayerSession, request: PartyRpc.SendInviteV1Request): PartyRpc.SendInviteV1Response

Sends a party invite.

The invited player will receive a PartyRpc.InviteReceivedV1Notification. If the inviting player is not currently in a party, the request will fail with PragmaError.PartyService_NotInParty. If the invited player is already in the same party as the inviting player, the request will fail with PragmaError.PartyService_AlreadyInParty.