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

# RCSMessage.Text

A structure that represents text content in an RCS message.

```
struct Text
```

## Topics

### Creating a text instance

[`init(body: String)`](/documentation/TelephonyMessagingKit/RCSMessage/Text/init(body:))

Creates a text content instance from the given string.

[`init(stringLiteral: String)`](/documentation/TelephonyMessagingKit/RCSMessage/Text/init(stringLiteral:))

Creates a text content instance from the given string literal.

### Accessing text content

[`var body: String`](/documentation/TelephonyMessagingKit/RCSMessage/Text/body)

The body of the text message, as a string.

### Supporting RCS encryption

[`var isEndToEndEncrypted: Bool`](/documentation/TelephonyMessagingKit/RCSMessage/Text/isEndToEndEncrypted)

A Boolean value indicating whether this message is end-to-end encrypted.

### Encoding and decoding

### Comparing text instances

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)