Returns a string that contains the status of the specified broadcast message.

@param int $broadcastMessageID - The ID of the broadcast message to query.

@return string
189653
public function queryBroadcastMessageStatus ($broadcastMessageID)
    {
        $json = json_decode(
            $this->client->send(
                new Request(
                    "POST",
                    "https://api.weixin.qq.com/cgi-bin/message/mass/get",
                    [],
                    json_encode(
                        [
                            "msg_id" => (int)$broadcastMessageID,
                        ]
                    )
                )
            )->getBody()
        );

        return strtolower($json->msg_status);
    }
567214
public static function getString ($status = FALSE, $tagStart = NULL, $tagEnd = "\n")
	{
		
		// Get messages
		
		$arr	= self::get ($status);
		
		// Set message string
		
		$str	= '';
		
		foreach ($arr as $msg)
		{
			$str	.= $tagStart . $msg . $tagEnd;
		}
		
		// Return message
		
		return $str;
		
	}
382530
public function getStatus(string $leadStatusId): LeadStatus
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use get() instead.', __METHOD__), E_USER_DEPRECATED);

        return $this->get($leadStatusId);
    }
874374
public function getMessageId()
    {
        $messageId = $this->getParameter('messageId');

        if (empty($messageId)) {
            $this->setMessageId(substr(md5(microtime()), 0, 30));
        }

        return $this->getParameter('messageId');
    }
715918
public function getStatusName($id)
    {
        $statuses = $this->getStatuses();
        return isset($statuses[$id]) ? $statuses[$id] : '';
    }
436017
public function getEventMessageSites($messageId) {
        $dbres = \CEventMessage::GetLang($messageId);
        return $this->fetchAll($dbres, false, 'LID');
    }
623694
public function getEntityContent($messageId, $entityId)
    {
        return $this->diadocApi->getEntityContent($this->boxId, $messageId, $entityId);
    }
272262
public function getVerification($messageId)
    {
        $verification = $this->factory->createEmptyVerification();
        $verification->populate($messageId);

        return $verification;
    }
625935
public function getSendStatus($id)
    {
        $url = $this->getApiEndpoint() . self::REST_CAMPAIGN_SEND . '/' . $id;
        $this->setUrl($url)
            ->setVerb('GET');
        $response = $this->execute();
        //log error
        if (isset($response->message)
            && !in_array(
                $response->message,
                $this->exludeMessages
            )
        ) {
            $message = 'GETS THE SEND STATUS USING SEND ID: '
                . $response->message;
            $this->helper->log($message);
        }
        return $response;
    }
392357
public function retrieve($notificationId)
    {
        $response = $this->sendRequest(
            self::METHOD_GET,
            str_replace(':notification_id', $notificationId, self::$endPoints['retrieve']),
            $this->requestData
        );
        $this->resetRequestData();
        return $response;
    }
132458
public function getMessage($messageId)
    {
        $this->buildCall('/text/'.$messageId);

        return $this->makeMessage($this->getRequest()->xml()->Text);
    }
1310332
public function getReasonPhrase(): string
    {
        if ($this->reasonPhrase) {
            return $this->reasonPhrase;
        }

        return isset(static::$messages[$this->status]) ? static::$messages[$this->status] : null;
    }
98079
public static function status($orderId)
    {
        $url = static::classUrl();
        $url = $url . '/' . $orderId . '/status';
        list($ret) = parent::staticRequest('get', $url, []);

        return $ret;
    }
1313586
public String getPainMessageId() {
        String result = getPainParam("messageId");
        if (result == null) {
            SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss:SSSS");
            result = format.format(new Date());
            result = result.substring(0, Math.min(result.length(), 35));
            setSEPAParam("messageId", result);
        }
        return result;
    }
1030670
public function getMessage($boxId, $messageId, $entityId = null, $originalSignature = null)
    {
        $response = $this->doRequest(
            self::RESOURCE_GET_MESSAGE,
            [
                'boxId' =>  $boxId,
                'messageId' =>  $messageId,
                'entityId'  =>  $entityId,
                'originalSignature' => $originalSignature
            ]
        );

        return Message::fromStream($response);
    }
245344
public function markAsUnread(int $messageId)
    {
        $this->sql = 'update message set is_read = \'N\' where id = ?';
        $this->bindValues[] = $messageId;

        return $this->execute();
    }
215750
function getLastMessage() {
        if(!empty($this->lastMessageID) && $this->messages->has($this->lastMessageID)) {
            return $this->messages->get($this->lastMessageID);
        }
        
        return null;
    }