SCSChatEvent

@interface SCSChatEvent : NSObject <SCSChatEvent>

Information related to all events that are sent or received.

  • The date the event was created.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull) NSDate *date;

    Swift

    var date: Date { get }
  • The actor that sent the event.

    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 }