social / pragma.friend / FriendService / sendFriendInviteBySocialIdV1 /

sendFriendInviteBySocialIdV1 #

suspend fun sendFriendInviteBySocialIdV1(session: PlayerSession, request: FriendRpc.SendFriendInviteBySocialIdV1Request): FriendRpc.SendFriendInviteBySocialIdV1Response

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 (account service failed).