One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

SMSMessage

struct · iOS 26.0+ · SDK 27.1

struct SMSMessage

A structure that contains the data of an SMS message.

Members (5)

init · iOS 26.0+

init

TypeScript
static init(cellularServiceID: CellularServiceID, handle: SMSHandle, messageID: SMSMessageID, content: SMSContent): SMSMessage
Swift declaration
init(cellularServiceID: CellularServiceID, handle: SMSHandle, messageID: SMSMessageID, content: SMSContent)

Initializes an SMS Message for sending to a receipient. - Parameters: - cellularServiceID: The service identifier to use for the message. - handle: A handle that represents the destination of the message. - messageID: The message identifier to use for this message. - content: The content to send for the message.

get · iOS 26.0+

cellularServiceID

TypeScript
get cellularServiceID(): CellularServiceID
Swift declaration
let cellularServiceID: CellularServiceID

The cellular service identifier associated with the message.

get · iOS 26.0+

handle

TypeScript
get handle(): SMSHandle
Swift declaration
let handle: SMSHandle

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

get · iOS 26.0+

content

TypeScript
get content(): SMSContent
Swift declaration
let content: SMSContent

The textual content of the message.

get · iOS 26.0+

messageID

TypeScript
get messageID(): SMSMessageID
Swift declaration
let messageID: SMSMessageID

A message identifier for the message.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →