social / pragma.friend / FriendService / sendFriendInviteV1 /

sendFriendInviteV1 #

suspend fun sendFriendInviteV1(session: PlayerSession, request: FriendRpc.SendFriendInviteV1Request): FriendRpc.SendFriendInviteV1Response

Sends a friend invite to the specified player.

Adds a pending invite to 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.