Documentation

SendRequestToJoinGroup

bool
CSocNetUserToGroup::SendRequestToJoinGroup(
 int senderID,
 int userID,
 int groupID,
 string message,
 bool bMail = true
);

The method sends user an invitation to join a workgroup. Static method.

Parameters

Parameter Description Available from version
senderID User ID who performs action.
userID User ID who receives an invitation to join.
groupID Workgroup ID.
message Invitation message additional text.
bMail Flag for sending an e-mail. Optional parameter. True by default. 10.0.2

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024