---
title: "receiveMessage(using:messageID:)"
framework: TelephonyMessagingKit
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+]
path: "telephonymessagingkit/mmsservice/receivemessage(using:messageid:)"
---

# receiveMessage(using:messageID:)

Retrieves an MMS message that matches the given identifiers.

## Declaration

```swift
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

Return Value The message matching the specified identifiers.

## Discussion

Discussion You get the cellularServiceID and messageID from an MMSService.IncomingMessageNotification that you receive from the incomingMessageNotifications asynchronous sequence. note: TelephonyMessagingSession.Error.invalidSession if the session is no longer valid.
