3namespace Bitrix\Im\V2\Controller\Recent;
5use Bitrix\Im\V2\Controller\BaseController;
6use Bitrix\Im\V2\Recent\RecentCollab;
7use Bitrix\Im\V2\Recent\RecentError;
8use Bitrix\Main\Type\DateTime;
18 if (isset(
$filter[
'lastMessageDate']))
20 if (!DateTime::isCorrect(
$filter[
'lastMessageDate'], \DateTimeInterface::RFC3339))
22 $this->addError(
new RecentError(RecentError::WRONG_DATETIME_FORMAT));
toRestFormatWithPaginationData(array $entities, int $needCount, int $realCount)
tailAction(int $limit=50, array $filter=[])
static getCollabs(int $limit, ?DateTime $lastMessageDate=null)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)