Метод validate
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
38–74
~/bitrix/modulesim/lib/V2/Message/Reply/ReplyValidator.php
Исходный код
Сигнатура метода
public function validate(int $replyId, Chat $targetChat): Result
Возвращает:
Result
Описание
Validates that $replyId refers to a message in $targetChat that the current user can access.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$replyId
|
int
|
-
|
-
|
$targetChat
|
Chat
|
-
|
-
|