<!--
{
  "availability" : [
    "iOS: 26.0.0 - 26.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/MMSService/receiveMessage(using:messageID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit10MMSServiceC14receiveMessage5using9messageIDAA10MMSMessageVAA015CellularServiceI0V_AA0jI0VtYaKF"
  },
  "title" : "receiveMessage(using:messageID:)"
}
-->

# receiveMessage(using:messageID:)

Retrieves an MMS message that matches the given identifiers.

```
final func receiveMessage(using cellularServiceID: CellularServiceID, messageID: MMSMessageID) async throws -> MMSMessage
```

## Parameters

`cellularServiceID`

The service identifier to use for this request.

`messageID`

The message identifier for the target message.

## Return Value

The message matching the specified identifiers.

## Discussion

You get the `cellularServiceID` and `messageID` from an [`MMSService.IncomingMessageNotification`](/documentation/TelephonyMessagingKit/MMSService/IncomingMessageNotification) that you receive from the [`incomingMessageNotifications`](/documentation/TelephonyMessagingKit/MMSService/incomingMessageNotifications) asynchronous sequence.

> Throws: ``doc://com.apple.telephonymessagingkit/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error/invalidSession`` if the session is no longer valid.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)