• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/consent/consent.php
  • Класс: Bitrix\Sender\Consent\Consent
  • Вызов: Consent::checkIfConsentRequestLimitExceeded
static function checkIfConsentRequestLimitExceeded(int $requests, string $code): bool
{
	return  $requests > Consent::getTransport($code)->getConsentMaxRequests();
}