SBDReactionEvent Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | SBDMappable |
| Declared in | SBDReactionEvent.h |
Overview
Class to store reaction event info. The object is returned by not only the completion handler of addReactionWithMessage:key:completionHandler: and deleteReactionWithMessage:key:completionHandler: in SBDBaseChannel class but also channel:updatedReaction: delegate of SBDChannelDelegate protocol. The object has to be applied to the message that has the identical message ID with the applyReactionEvent: method in SBDBaseMessage class.
Note: This class is available in 3.0.169
messageId
Message ID that indentifies the message that has the reaction event.
@property (nonatomic, readonly) long long messageIdAvailability
3.0.169
Declared In
SBDReactionEvent.h
key
The reaction key.
@property (strong, nonnull, readonly) NSString *keyAvailability
3.0.169
Declared In
SBDReactionEvent.h
userId
The user ID that identifies the user who adds or deletes the reaction key.
@property (strong, nonnull, readonly) NSString *userIdAvailability
3.0.169
Declared In
SBDReactionEvent.h
operation
The operation that the user did. It will be adding a reaction or deleting a reaction.
@property (atomic, readonly) SBDReactionEventAction operationAvailability
3.0.169
Declared In
SBDReactionEvent.h
updatedAt
The timestamp that represents when the reaction event occurs.
@property (atomic, readonly) long long updatedAtAvailability
3.0.169
Declared In
SBDReactionEvent.h