- Модуль: messageservice
- Путь к файлу: ~/bitrix/modules/messageservice/lib/sender/sms/ednaru.php
- Класс: BitrixMessageServiceSenderSmsEdnaru
- Вызов: Ednaru::__construct
public function __construct()
{
$this->informant = new WhatsAppInformant();
$this->optionManager = new BaseOption($this->getType(), $this->getId());
$this->utils = new WhatsAppUtils($this->getId(), $this->optionManager);
$this->registrar = new WhatsAppRegistrar($this->getId(), $this->optionManager, $this->utils);
$this->initiator = new WhatsAppInitiator($this->optionManager, $this->registrar, $this->utils, $this->getId());
$emojiConverter = new WhatsAppEmojiConverter();
$this->sender = new WhatsAppSender($this->optionManager, $this->registrar, $this->utils, $emojiConverter);
$this->templateManager = new WhatsAppTemplateManager($this->getId(), $this->utils, $emojiConverter);
}