Метод __construct

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 15–26
~/bitrix/modulestasks/lib/V2/Internal/Integration/Im/Entity/Message.php

Исходный код

PHP
public

Сигнатура метода

public function __construct(?int $id = null, ?int $chatId = null, ?string $text = null, ?array $fileIds = null, ?int $previewId = null, ?Chat $chat = null)

Параметры

6
Имя Тип По умолчанию Флаги
$id ?int null
-
$chatId ?int null
-
$text ?string null
-
$fileIds ?array null
-
$previewId ?int null
-
$chat ?Chat null
-