One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

RCSService.Configuration

struct · iOS 26.0+ · SDK 27.1

struct Configuration

A structure that contains RCS configuration parameters, such as timing and size limits.

Members (6)

get · iOS 26.5+

supportsEndToEndEncryption

TypeScript
get supportsEndToEndEncryption(): boolean
Swift declaration
let supportsEndToEndEncryption: Bool

A Boolean value indicating whether the RCS service supports end-to-end encryption. Before your app sends a message or performs a request that may be end-to-end encrypted, ensure that the RCS service supports end-to-end encryption by checking this property.

get · iOS 26.0+

maximumGroupSize

TypeScript
get maximumGroupSize(): (number) | null
Swift declaration
var maximumGroupSize: Int? { get }

The maximum number of participants allowed for a group chat. This value is `nil` if group chat is disabled.

get · iOS 26.0+

chatRevokeTimeout

TypeScript
get chatRevokeTimeout(): (SDKHandle) | null
Swift declaration
let chatRevokeTimeout: Duration?

The maximum duration the service provider allows for delivery notification before it revokes a chat message. After the app sends a message, the system expects to receive a delivery notification for that message. When your app sends a message, start a timer with this timeout value. If the timer expires without receiving a delivery notification, revoke the message with ``RCSService/revokeMessage(_:)``, and resend with SMS or MMS. This value is represented as a Swift <doc://com.apple.documentation/documentation/swift/duration>, unless the client can't send Revoke Message requests, in which case the value is `nil`.

get · iOS 26.0+

maximumTextMessageSize

TypeScript
get maximumTextMessageSize(): (_Foundation_Measurement<_Foundation_UnitInformationStorage>) | null
Swift declaration
var maximumTextMessageSize: Measurement<UnitInformationStorage>? { get }

The maximum size of a text chat message that a person can enter in a 1-to-1 chat or group chat session. This value is represented as a Foundation <doc://com.apple.documentation/documentation/foundation/measurement> that uses the <doc://com.apple.documentation/documentation/foundation/unitinformationstorage> unit type. If the messaging service is disabled, the value is `nil`.

get · iOS 26.0+

fileTransferWarningSize

TypeScript
get fileTransferWarningSize(): (_Foundation_Measurement<_Foundation_UnitInformationStorage>) | null
Swift declaration
let fileTransferWarningSize: Measurement<UnitInformationStorage>?

The size for issuing a warning about file transfers and Rich Card media objects. This value is equivalent to `FT WARN SIZE` in the RCS specification. Consult the specification for handling pre-recorded video that uses a resolution greater than 480p encoded at 1200 kbps. The specification's guidance differs based on whether the file size is less than or greater than the warning size value. Your app may need to warn the person sending the video or force recompression to reduce its size. This value is represented as a Foundation <doc://com.apple.documentation/documentation/foundation/measurement> that uses the <doc://com.apple.documentation/documentation/foundation/unitinformationstorage> unit type. If the warning size isn't applicable, the value is `nil`.

get · iOS 26.0+

maximumFileTransferSize

TypeScript
get maximumFileTransferSize(): (_Foundation_Measurement<_Foundation_UnitInformationStorage>) | null
Swift declaration
var maximumFileTransferSize: Measurement<UnitInformationStorage>? { get }

The maximum size of a file that the RCS file transfer service can send. This value is represented as a Foundation <doc://com.apple.documentation/documentation/foundation/measurement> that uses the <doc://com.apple.documentation/documentation/foundation/unitinformationstorage> unit type. If the messaging service doesn't limit the file size, the value is `nil`.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →