public function send($entityId, $text, $userIds, $emails)
    {
        $messageData = $this->buildMessageData($text, $entityId);

        return $this->callSendMessage($userIds, $emails, $messageData);
    }
public function send($entityId, $text, $userIds, $emails)
    {
        $messageData = $this->buildMessageData($text, $entityId);

        return $this->callSendMessage($userIds, $emails, $messageData);
    }
public function send ( $ entityId , $ text , $ userIds , $ emails ) { $ messageData = $ this -> buildMessageData ( $ text , $ entityId ) ; return $ this -> callSendMessage ( $ userIds , $ emails , $ messageData ) ; }
Send item with message or by email.

@param string $entityId
@param string $text
@param array|string $userIds
@param array|string $emails
@return bool
@throws InvalidRequest
Send item with message or by email .