social / pragma.friend / FriendService / unblockV1 /
unblockV1 #
suspend fun unblockV1(session: PlayerSession, request: FriendRpc.UnblockV1Request): FriendRpc.UnblockV1Response
Prevents a player from receiving invites from the blocked player. Friendship status and pending friend invites between the two players will be removed.
Notifies both players if friendship was removed.
Returns a result string in the response message. See FriendResponse for all values.
- FriendResponse.Ok - Success.
- FriendResponse.SocialIdentityNotFound - The player being blocked could not be retrieved.
- FriendResponse.FriendNotFound - The players were friends and the friend entry cannot be found.