• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Message/Param.php
  • Класс: BitrixImV2MessageParam
  • Вызов: Param::detectType
public function detectType(): self
{
	if (empty($this->type) && !empty($this->name))
	{
		$type = Params::getType($this->name);
		$this->setType($type['type'] ?? Param::TYPE_STRING);
	}

	return $this;
}