<!--
{
  "availability" : [
    "iOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/SMSMessage",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit10SMSMessageV"
  },
  "title" : "SMSMessage"
}
-->

# SMSMessage

A structure that contains the data of an SMS message.

```
struct SMSMessage
```

## Topics

### Creating an SMS message

[`init(cellularServiceID: CellularServiceID, handle: SMSHandle, messageID: SMSMessageID, content: SMSContent)`](/documentation/TelephonyMessagingKit/SMSMessage/init(cellularServiceID:handle:messageID:content:))

Initializes an SMS Message for sending to a receipient.

### Accessing message content

[`let content: SMSContent`](/documentation/TelephonyMessagingKit/SMSMessage/content)

The textual content of the message.

[`struct SMSContent`](/documentation/TelephonyMessagingKit/SMSContent)

A structure that holds the content of an SMS message.

### Accessing message properties

[`let cellularServiceID: CellularServiceID`](/documentation/TelephonyMessagingKit/SMSMessage/cellularServiceID)

The cellular service identifier associated with the message.

[`struct CellularServiceID`](/documentation/TelephonyMessagingKit/CellularServiceID)

An opaque identifier that represents the cellular service for which to provide operations.

[`let handle: SMSHandle`](/documentation/TelephonyMessagingKit/SMSMessage/handle)

A handle that represents the originator of an incoming message or the destination of an outgoing message.

[`struct SMSHandle`](/documentation/TelephonyMessagingKit/SMSHandle)

A structure that represents an SMS address.

[`let messageID: SMSMessageID`](/documentation/TelephonyMessagingKit/SMSMessage/messageID)

A message identifier for the message.

[`struct SMSMessageID`](/documentation/TelephonyMessagingKit/SMSMessageID)

A structure that represents an SMS message identifier.

### Encoding and decoding

## Relationships

### Conforms To

[`Decodable`](/documentation/Swift/Decodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Encodable`](/documentation/Swift/Encodable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)