One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

RCSMessage.CustomReaction

struct · iOS 27.0+ · SDK 27.1

struct CustomReaction

A structure that represents a custom reaction to an RCS message.

Members (8)

get · iOS 27.0+

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 throws ``RCSService/Error/endToEndEncryptionNotSupported``. For incoming messages, this indicates whether the message was end-to-end encrypted.

set · iOS 27.0+

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 throws ``RCSService/Error/endToEndEncryptionNotSupported``. For incoming messages, this indicates whether the message was end-to-end encrypted.

init · iOS 27.0+

init

TypeScript
static initTargetMessageIDOperationIsEndToEndEncrypted(targetMessageID: RCSMessageID, operation: RCSMessage_CustomReaction_Operation, isEndToEndEncrypted: boolean): RCSMessage_CustomReaction
Swift declaration
init(targetMessageID: RCSMessageID, operation: RCSMessage.CustomReaction.Operation, isEndToEndEncrypted: Bool)

Creates a custom reaction instance with the message identifier and content. - Parameters: - targetMessageID: The target message ID for the custom reaction. - operation: The operation for the custom reaction. - isEndToEndEncrypted: A Boolean value indicating whether this message is end-to-end encrypted.

init · iOS 27.0+

init

TypeScript
static initTargetMessageIDOperation(targetMessageID: RCSMessageID, operation: RCSMessage_CustomReaction_Operation): RCSMessage_CustomReaction
Swift declaration
init(targetMessageID: RCSMessageID, operation: RCSMessage.CustomReaction.Operation)

Creates a custom reaction instance with the message identifier and content. - Parameters: - targetMessageID: The target message ID for the custom reaction. - operation: The operation for the custom reaction.

get · iOS 27.0+

targetMessageID

TypeScript
get targetMessageID(): RCSMessageID
Swift declaration
var targetMessageID: RCSMessageID

The target message ID for the custom reaction. When adding a custom reaction, this property indicates the target message ID for the custom reaction. Your app should store the message ID for the sent message used to add the custom reaction. This is necessary for removing the custom reaction at a later point in time. When removing a custom reaction, this identifier indicates the message ID previously used when adding a custom reaction.

set · iOS 27.0+

targetMessageID

TypeScript
set targetMessageID(value: RCSMessageID)
Swift declaration
var targetMessageID: RCSMessageID

The target message ID for the custom reaction. When adding a custom reaction, this property indicates the target message ID for the custom reaction. Your app should store the message ID for the sent message used to add the custom reaction. This is necessary for removing the custom reaction at a later point in time. When removing a custom reaction, this identifier indicates the message ID previously used when adding a custom reaction.

get · iOS 27.0+

operation

TypeScript
get operation(): RCSMessage_CustomReaction_Operation
Swift declaration
var operation: RCSMessage.CustomReaction.Operation

The operation to perform for the custom reaction.

set · iOS 27.0+

operation

TypeScript
set operation(value: RCSMessage_CustomReaction_Operation)
Swift declaration
var operation: RCSMessage.CustomReaction.Operation

The operation to perform for the custom reaction.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →