SCSChatEvent
@protocol SCSChatEvent <NSObject>
Information related to a chat event. Other chat event classes implement this protocol.
-
Date for this event.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) NSDate *date;
Swift
var date: Date { get }
-
The actor for this event. Not all events have an actor.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) SCSChatActor *sender;
Swift
var sender: SCSChatActor? { get }
-
The type of event.
Declaration
Objective-C
@property (nonatomic, readonly) SCSChatEventType type;
Swift
var type: SCSChatEventType { get }