5use Bitrix\Bitrix24\CurrentUser;
7use Bitrix\Main\LoaderException;
16 private array $recipients;
17 private string $moduleId;
26 if (!Loader::includeModule(
'pull'))
28 throw new \Exception(
'Module "pull" not installed');
31 if (is_null($userIds))
33 $this->recipients = [CurrentUser::get()->getId()];
37 $this->recipients = $userIds;
39 $this->moduleId =
'rest';
40 $this->expiry = $expiry;
46 'module_id' => $this->moduleId,
48 'params' => $parameters,
49 'expiry' => $this->expiry,
send(string $method, array $parameters)
__construct(array $userIds=null, int $expiry=0)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)