Documentation

SendRequestToBeFriend

bool
CSocNetUserRelations::SendRequestToBeFriend(
 int senderUserID,
 int targetUserID,
 string message
);

The method sends a friends request from one user to another. Non-static method.

Parameters

Parameter Description Available from version
senderUserID User ID who send a friends request.
targetUserID User ID who receives a friends request.

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024
Up