3namespace Bitrix\Im\V2\Controller\Chat;
5use Bitrix\Im\V2\Controller\BaseController;
6use Bitrix\Im\V2\RelationCollection;
15 $relationOrder = $this->prepareRelationOrder(
$order);
17 $relationFilter = [
'ACTIVE' =>
true,
'CHAT_ID' => $chat->getId()];
27 return [
'ID' => strtoupper(
$order[
'id'])];
29 if (isset(
$order[
'lastSendMessageId']))
31 return [
'LAST_SEND_MESSAGE_ID' => strtoupper(
$order[
'lastSendMessageId'])];
33 if (isset(
$order[
'userId']))
35 return [
'USER_ID' => strtoupper(
$order[
'userId'])];
toRestFormat(RestConvertible ... $entities)
listAction(\Bitrix\Im\V2\Chat $chat, array $order=[], int $limit=self::DEFAULT_LIMIT)
static find(array $filter, array $order=[], ?int $limit=null, ?Context $context=null, array $select=self::COMMON_FIELDS)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)