social / pragma.friend / FriendService / cancelSentFriendInviteV1 /

cancelSentFriendInviteV1 #

suspend fun cancelSentFriendInviteV1(session: PlayerSession, request: FriendRpc.CancelSentFriendInviteV1Request): FriendRpc.CancelSentFriendInviteV1Response

Cancels a friend invite that has been sent to the specified player.

Removes a pending invite from both player’s friend list.

Returns a result string in the response message. See FriendResultStatus for values.

PragmaResultErrors

  • PragmaError.FriendService_InternalError - If unable to retrieve the account information of the invitee.