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 (readonly, strong, nonatomic, nonnull) NSDate *date;
Swift
var date: Date { get }
-
The actor for this event. Not all events have an actor.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) SCSChatActor *sender;
Swift
var sender: SCSChatActor? { get }
-
The type of event.
Declaration
Objective-C
@property (readonly, assign, nonatomic) SCSChatEventType type;
Swift
var type: SCSChatEventType { get }