One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

MMSMessage

struct · iOS 26.0+ · SDK 27.1

struct MMSMessage

A structure that contains the data of an MMS message.

Members (9)

get · iOS 26.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of the message.

init · iOS 26.0+

init

TypeScript
static init(cellularServiceID: CellularServiceID, messageID: MMSMessageID, content: MMSContent): MMSMessage
Swift declaration
init(cellularServiceID: CellularServiceID, messageID: MMSMessageID, content: MMSContent)

Initializes an MMS message for sending to a receipient. - Parameters: - cellularServiceID: The service identifier for this message. - messageID: The message identifier for this message. - content: The content to send for this message.

get · iOS 26.0+

cellularServiceID

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

The cellular service identifier associated with the message.

set · iOS 26.0+

cellularServiceID

TypeScript
set cellularServiceID(value: CellularServiceID)
Swift declaration
var cellularServiceID: CellularServiceID

The cellular service identifier associated with the message.

get · iOS 26.0+

content

TypeScript
get content(): MMSContent
Swift declaration
var content: MMSContent

The body content of the message.

set · iOS 26.0+

content

TypeScript
set content(value: MMSContent)
Swift declaration
var content: MMSContent

The body content of the message.

get · iOS 26.0+

messageID

TypeScript
get messageID(): MMSMessageID
Swift declaration
var messageID: MMSMessageID

A message identifier for the message.

set · iOS 26.0+

messageID

TypeScript
set messageID(value: MMSMessageID)
Swift declaration
var messageID: MMSMessageID

A message identifier for the message.

get · iOS 26.0+

totalSize

TypeScript
get totalSize(): _Foundation_Measurement<_Foundation_UnitInformationStorage>
Swift declaration
var totalSize: Measurement<UnitInformationStorage> { get }

The total size of the message. If this value exceeds ``MMSConfiguration/maximumMessageSize``, sending the message with ``MMSService/sendMessage(_:)`` fails with ``MMSService/Error/maximumSizeExceeded``.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →