ParaSocialService.AddFriend

Declaration

public static void AddFriend(string UID, Action<bool> callback)

Parameters

Parameter NameParameter Description
UIDUID of the user to whom a friend request is sent
callbackCallback function triggered after a user tries to send a friend request. It returns whether the friend request is sent successfully.

Description

Sends a friend request.