• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/call/registry.php
  • Класс: BitrixImCallRegistry
  • Вызов: Registry::getCallWithId
static function getCallWithId(int $id): ?Call
{
	if(static::$calls[$id])
		return static::$calls[$id];

	$row = CallTable::getRowById($id);
	if(!$row)
		return null;

	static::$calls[$id] = CallFactory::createWithArray($row['PROVIDER'], $row);
	return static::$calls[$id];
}