One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

RCSMessage.Reaction

struct · iOS 27.0+ · SDK 27.1

struct Reaction

A structure that represents a 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_Reaction_Operation, isEndToEndEncrypted: boolean): RCSMessage_Reaction
Swift declaration
init(targetMessageID: RCSMessageID, operation: RCSMessage.Reaction.Operation, isEndToEndEncrypted: Bool)

Creates a reaction instance with the message identifier and content. - Parameters: - targetMessageID: The target message ID for the reaction. - operation: The operation for the 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_Reaction_Operation): RCSMessage_Reaction
Swift declaration
init(targetMessageID: RCSMessageID, operation: RCSMessage.Reaction.Operation)

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

get · iOS 27.0+

targetMessageID

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

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

set · iOS 27.0+

targetMessageID

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

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

get · iOS 27.0+

operation

TypeScript
get operation(): RCSMessage_Reaction_Operation
Swift declaration
var operation: RCSMessage.Reaction.Operation

The operation to perform for the reaction.

set · iOS 27.0+

operation

TypeScript
set operation(value: RCSMessage_Reaction_Operation)
Swift declaration
var operation: RCSMessage.Reaction.Operation

The operation to perform for the reaction.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →