Your IP : 18.117.12.223


Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/messageservice/lib/Update/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/messageservice/lib/Update/Agent.php

<?php
namespace Bitrix\MessageService\Update;

use \Bitrix\Main\Loader;

final class Agent
{
	public static function resetCallbackAgent(): string
	{
		if (Loader::IncludeModule('messageservice'))
		{
			$sender = \Bitrix\Messageservice\Sender\SmsManager::getSenderById(\Bitrix\Messageservice\Providers\Edna\WhatsApp\Constants::ID);
			if ($sender instanceof \Bitrix\MessageService\Sender\Sms\Ednaru)
			{
				$sender->resetCallback();
			}
		}

		return '';
	}
}