https://tapatalk.com/api/api_section.php?id=7#get_message
@param string $messageId
@param string $boxId
329905
public function get_message($messageId, $boxId)
    {
        try {
            $manager = $this->container->get('symbb.extension.tapatalk.manager.user');
            return $manager->getMessage($messageId, $boxId);
        } catch (\Exception $exc) {
            return $this->errorResponse($exc);
        }
    }
1079436
public A messageId(String messageId) {
        this.headers.add(Pair.of("X-MessageId", messageId));
        return (A)this;
    }
1221291
public function getMessage($messageId)
    {
        $rawMessage = $this->twilio->account->messages->get($messageId);
        $incomingMessage = $this->createIncomingMessage();
        $this->processReceive($incomingMessage, $rawMessage);

        return $incomingMessage;
    }
1090733
public function getStatus($messageId)
    {

        $result = $this->client->GetMessageStatus(['MessageId' => $messageId]);


        // ответ на статус - строка.
        // т.е. чтоб реально узнать статус сообщение саппорт предлагает парсить строку и анализировать ее

        if (isset($result->GetMessageStatusResult)) {
            return $result->GetMessageStatusResult;
        }

        throw new TurboSmsException('Cannot get message status');
    }
968304
public static function successfully(Phone $phone, string $messageId = null): Result
    {
        return new self($phone, true, $messageId);
    }
546456
public function getEntityContent($boxId, $messageId, $entityId)
    {
        $response = $this->doRequest(
            self::RESOURCE_GET_ENTITY_CONTENT,
            [
                'boxId' =>  $boxId,
                'messageId' =>  $messageId,
                'entityId'  =>  $entityId
            ]
        );

        return $response;
    }
1270546
public function sendMessage($messageId, $to = null, $parameters = [])
    {
        $message = $messageId;

        if (is_string($to)) {
            $player = $this->playerStorage->getPlayerInfo($to);
            $message = $this->translations->getTranslation($messageId, $parameters, strtolower($player->getLanguage()));
        }

        if (is_array($to)) {
            $to = implode(",", $to);
            $message = $this->translations->getTranslations($messageId, $parameters);
        }

        if ($to instanceof Group) {
            $to = implode(",", $to->getLogins());
            $message = $this->translations->getTranslations($messageId, $parameters);
        }

        if ($to === null || $to instanceof Group) {
            $message = $this->translations->getTranslations($messageId, $parameters);
            $this->console->writeln(end($message)['Text']);
        }

        try {
            $this->factory->getConnection()->chatSendServerMessage($message, $to);
        } catch (UnknownPlayerException $e) {
            $this->logger->info("can't send chat message: $message", ["to" => $to, "exception" => $e]);
            // Nothing to do, it happens.
        } catch (InvalidArgumentException $ex) {
            // Nothing to do
        }
    }
882801
public function checkDeliveryStatus($messageID = null)
    {
        if (is_null($messageID)) {
            throw IsNull::create("Message ID can not be empty.");
        }

        $this->performGetRequest("/smsapi/delivery_status?message_id={$messageID}");

        return $this;
    }
1209359
public function getBox($boxId)
    {
        $response = $this->doRequest(
            self::RESOURCE_GET_BOX,
            [
                'boxId' => $boxId
            ]
        );

        return Box::fromStream($response);
    }
318178
public function deleteCollectorMessage($collectorId, $messageId)
	{
		return $this->sendRequest(
			$this->createRequest('DELETE', sprintf('collectors/%s/messages/%s', $collectorId, $messageId))
		);
	}
99869
protected function buildGetStatusPayload($messageId)
    {
        $xml = new \SimpleXMLElement(
            '<?xml version="1.0" encoding="ISO-8859-1"?>'.
            '<!DOCTYPE STATUSREQUEST SYSTEM "http://127.0.0.1:80/psms/dtd/requeststatusv12.dtd">'.
            '<STATUSREQUEST VER="1.2"></STATUSREQUEST>'
        );

        $user = $xml->addChild('USER');
        $user->addAttribute('USERNAME', $this->username);
        $user->addAttribute('PASSWORD', $this->password);

        $guid = $xml->addChild('GUID');
        $guid->addAttribute('GUID', $messageId);

        return $xml->asXml();
    }
281266
public function getMessage($messageId)
    {
        $this->buildCall('/incoming-messages');
        $this->buildCall('/'.$messageId);

        $rawMessage = $this->getRequest()->json();

        return $this->makeMessage($rawMessage['Response']['Entry']);
    }
448437
public static function get ($message1, $message2 = null, $n = null)
	{
		$in = self::getInstance ();
		return $in->getText ($message1, $message2, $n);
	}
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);
    }
3440
public function getMessage($id = '')
    {
        $message = [];
        if (is_array($this->messages) == true) {
            foreach($this ->messages as $msg) {
                if ($msg['index'] == $id) {
                    $message = $msg;
                    break;
                }
            }
        }

        if (is_array($message) === true) {
            // Get the message body but do not mark as read
            $message['body'] = quoted_printable_decode(imap_fetchbody($this->conn, $message['index'], FT_PEEK));
        }

        return $message;
    }
741653
protected function get_users_messages_for_conversation(int $conversationid, int $userid) : moodle_recordset {
        global $DB;

        $usernamefields = \user_picture::fields('u');
        $sql = "SELECT $usernamefields, m.*
                  FROM {messages} m
                  JOIN {user} u
                    ON u.id = m.useridfrom
                  JOIN {message_email_messages} mem
                    ON mem.messageid = m.id
                 WHERE mem.useridto = ?
                   AND mem.conversationid = ?
                   AND mem.id <= ?";

        return $DB->get_recordset_sql($sql, [$userid, $conversationid, $this->maxid]);
    }
940218
public function cancelSendArticles($messageId)
    {
        $result = $this->httpRaw(self::WECHAT_ARTICLES_SEND_CANCEL_URL . 'access_token=' . $this->getAccessToken(), [
            'msgid' => $messageId
        ]);
        isset($result['errmsg']) && $result['errmsg'] == 'ok';
    }