• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/yandex/toloka/messagetoloka.php
  • Класс: Bitrix\Sender\Integration\Yandex\Toloka\MessageToloka
  • Вызов: MessageToloka::saveConfiguration
public function saveConfiguration(Message\Configuration $configuration)
{
	$config = $configuration;
	$projectId = $config->getOption('PROJECT_ID')
		->getValue();
	$poolId = $config->getOption('POOL_ID')
		->getValue();

	return Entity\Message::create()
		->setCode($this->getCode())
		->saveConfiguration($this->configuration);
}