• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/event.php
  • Класс: BitrixPullEvent
  • Вызов: Event::getChannelIds
static function getChannelIds(array $users, $type = CPullChannel::TYPE_PRIVATE)
{
	$result = [];
	foreach ($users as $userId)
	{
		$data = CPullChannel::Get($userId, true, false, $type);
		if ($data)
		{
			$result[] = $data['CHANNEL_ID'];
		}
	}

	return $result;
}