• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Controller/Chat.php
  • Класс: BitrixImV2ControllerChat
  • Вызов: Chat::readAllAction
public function readAllAction(CurrentUser $user): ?array
{
	BitrixImV2Chat::readAllChats((int)$user->getId());

	return [];
}