Sends a current user request to join a social network group, in this case current user group access permissions are verified. If the group is public, the user becomes its member instantly.

Function parameters

Parameter Description
GROUP_ID ID of the group to which the request is sent.
MESSAGE Request text.

Returns true on success, otherwise returns an error message.


// Send request to join group ID=15

BX24.callMethod('sonet_group.user.request', {
 'GROUP_ID': 17,
 'MESSAGE': 'Request'




User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021