• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/messagesender/channel/correspondents/from.php
  • Класс: Bitrix\Crm\MessageSender\Channel\Correspondents\From
  • Вызов: From::__construct
public function __construct(
	string $id,
	string $name,
	?string $description = null,
	bool $isDefault = false,
	bool $isAvailable = true,
)
{
	$this->id = $id;
	$this->name = $name;
	$this->description = $description;
	$this->isDefault = $isDefault;
	$this->isAvailable = $isAvailable;
}