Documentation

sonet_group.user.request

Description

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.

Returns true on success or error text otherwise.

Request:

https://mydomain.bitrix24.com/rest/sonet_group.user.request.json?auth=52423d4a5f19f5f964f9b4e96a925cfa&GROUP_ID=17&MESSAGE=Request

Response:

{"result":true}

Function parameters

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

Example

// Sends query to join the group with ID=15

BX24.callMethod('sonet_group.user.request', {
	'GROUP_ID': 17,
	'MESSAGE': 'Request'
});
© «Bitrix24», 2001-2024
Up