Documentation

Add

CPullWatch::Add(
 $userId,
 $tag
);

The method subscribes to commands. Static method.

Note: Subscription is active for 30 minutes. When this time expires, user is unsubscribed from receiving commands. Subscription can be extended by calling the command once again or via JS API.

Parameters

Parameter Description Available from version
userId user that must be subscribed
tag subscription ID


© «Bitrix24», 2001-2024