85 $isCollabChat = $chat->getType() === Chat::IM_TYPE_COLLAB;
86 $collabId = (int)$chat->getEntityId();
88 $jobType = Type::createFromPromotionId($promotion->
getId());
90 if (!$isCollabChat || $collabId <= 0 || !$jobType)
96 'USER_IDS' => [(int)User::getCurrent()->getId()],
97 'COLLAB_IDS' => [$collabId],
98 'JOB_TYPES' => [$jobType->value],
101 return $this->queueService->deleteByFilter(
$filter);