Метод enrichCopilotVotes
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
166–171
~/bitrix/modulesim/lib/V2/Controller/BaseController.php
Исходный код
Сигнатура метода
protected function enrichCopilotVotes(array $rest): array
Возвращает:
array
Описание
Injects the per-user copilot `vote` state into an assembled REST response. Must be called only from synchronous per-user read actions (message load/paging): `vote` is personalized for the requesting user and is intentionally absent from the shared popup-DTO layer to keep it out of broadcast pull/push payloads.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$rest
|
array
|
-
|
-
|