Adds new friendship relation.

Namespace: MonoSoftware.MonoX.API
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public bool AddFriend(
	Guid userId,
	Guid friendId
)
Visual Basic
Public Function AddFriend ( 
	userId As Guid,
	friendId As Guid
) As Boolean
Visual C++
public:
bool AddFriend(
	Guid userId, 
	Guid friendId
)
F#
member AddFriend : 
        userId : Guid * 
        friendId : Guid -> bool 

Parameters

userId
Type: System..::..Guid
Id of a user that makes request.
friendId
Type: System..::..Guid
Id of a friend user.

Return Value

Type: Boolean
True if relation successfully created.

See Also