• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/chat.php
  • Класс: BitrixImOpenLinesChat
  • Вызов: Chat::parseLiveChatEntityId
static function parseLiveChatEntityId($entityId)
{
	$result = [
		'connectorId' => null,
		'lineId' => null,
	];

	if(!empty($entityId))
	{
		[$result['connectorId'], $result['lineId']] = explode('|', $entityId);
	}

	return $result;
}