One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

RCSMessage.Text

struct · iOS 26.0+ · SDK 27.1

struct Text

A structure that represents text content in an RCS message.

Members (6)

get · iOS 26.5+

isEndToEndEncrypted

TypeScript
get isEndToEndEncrypted(): boolean
Swift declaration
var isEndToEndEncrypted: Bool

A Boolean value indicating whether this message is end-to-end encrypted. For outgoing messages, this indicates whether to end-to-end encrypt the message before sending out. If the service does not support end-to-end encryption, the operation will throw ``RCSService/Error/endToEndEncryptionNotSupported``. For incoming messages, this indicates whether the message was end-to-end encrypted.

set · iOS 26.5+

isEndToEndEncrypted

TypeScript
set isEndToEndEncrypted(value: boolean)
Swift declaration
var isEndToEndEncrypted: Bool

A Boolean value indicating whether this message is end-to-end encrypted. For outgoing messages, this indicates whether to end-to-end encrypt the message before sending out. If the service does not support end-to-end encryption, the operation will throw ``RCSService/Error/endToEndEncryptionNotSupported``. For incoming messages, this indicates whether the message was end-to-end encrypted.

init · iOS 26.0+

init

TypeScript
static initStringLiteral(value: string): RCSMessage_Text
Swift declaration
init(stringLiteral value: String)

Creates a text content instance from the given string literal.

init · iOS 26.0+

init

TypeScript
static initBody(body: string): RCSMessage_Text
Swift declaration
init(body: String)

Creates a text content instance from the given string.

get · iOS 26.0+

body

TypeScript
get body(): string
Swift declaration
var body: String

The body of the text message, as a string.

set · iOS 26.0+

body

TypeScript
set body(value: string)
Swift declaration
var body: String

The body of the text message, as a string.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →