• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/model/channel.php
  • Класс: BitrixPullModelChannel
  • Вызов: Channel::getShared
static function getShared(): Channel
{
	$fields = CPullChannel::GetShared();
	if (!$fields)
	{
		throw new SystemException("Public channel is empty");
	}

	return static::createWithFields($fields);
}