game / pragma.party / PartyService / cancelInviteV1 /

cancelInviteV1 #

suspend fun cancelInviteV1(session: PlayerSession, request: PartyRpc.CancelInviteV1Request): PartyRpc.CancelInviteV1Response

Cancels a party invite.

Calls the PartyPlugin.handlePlayerCancelInviteRequest to process the cancel request.

The invited player will receive a PartyRpc.InviteCancelledV1Notification if the invite is successfully cancelled.

If party for the invite cannot be found, the request will fail with PragmaError.PartyService_PartyNotFound. If the invite is no longer present on the party, the request will fail with PragmaError.PartyService_InviteNotFound.