Adapter::sendTestConsent

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. Adapter
  4. sendTestConsent
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/transport/adapter.php
  • Класс: Bitrix\Sender\Transport\Adapter
  • Вызов: Adapter::sendTestConsent
public function sendTestConsent($message, $data): bool
{
	if(!$this->isConsentSupported())
	{
		return false;
	}
	$builder = ConsentFactory::getTestMessageConsentBuilder($this->transport::CODE)->setFields($data);
	return $this->sendConsentByBuilder($message, $builder);
}

Добавить комментарий