Email::getMessageQuote

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Email
  4. getMessageQuote
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/email.php
  • Класс: Bitrix\Crm\Activity\Provider\Email
  • Вызов: Email::getMessageQuote
static function getMessageQuote($activityFields, $quotedText): string
{
	static::uncompressActivity($activityFields);
	$header = Activity\Mail\Message::getHeader([
		'OWNER_TYPE_ID' => (int)$activityFields['OWNER_TYPE_ID'],
		'OWNER_ID' => (int)$activityFields['OWNER_ID'],
		'ID' => $activityFields['ID'],
		'SETTINGS' => $activityFields['SETTINGS'],
	], false)->getData();
	return Message::wrapTheMessageWithAQuote($quotedText, $activityFields['SUBJECT'], $activityFields['START_TIME'], $header['from'], $header['to'], $header['cc']);
}

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