• Модуль: imbot
  • Путь к файлу: ~/bitrix/modules/imbot/lib/restservice.php
  • Класс: BitrixImBotRestService
  • Вызов: RestService::support24QuestionGetConfig
static function support24QuestionGetConfig($params, $offset, CRestServer $server): array
{
	if (!self::validateRequest($params, $server))
	{
		return [];
	}

	$classSupport = self::detectSupportBot();

	$config = $classSupport::getSupportQuestionConfig();

	if ($classSupport::hasError())
	{
		self::throwException($classSupport::getError());
	}

	return $config;
}