• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sharing/notification/notificationservice.php
  • Класс: BitrixCalendarSharingNotificationNotificationService
  • Вызов: NotificationService::notifyAboutMeetingStatus
public function notifyAboutMeetingStatus(string $to): bool
{
	$owner = $this->getOwner();
	$templateCode = $this->getTemplateCode($owner);
	$calendarLink = null;
	if ($templateCode === self::TEMPLATE_N)
	{
		$calendarLink = $this->getShortCalendarLink();
		if (is_null($calendarLink))
		{
			$templateCode = self::TEMPLATE_N_NO_LINK;
		}
	}
	$placeholders = $this->getPlaceholders($templateCode, $owner, $calendarLink);

	return $this->sendMessage($to, $templateCode, $placeholders);
}