SCSUserTextEvent

@interface SCSUserTextEvent : NSObject <SCSChatSendableEvent>

Information about a user text event.

  • The text of the original user message.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *originalText;

    Swift

    var originalText: String! { get }
  • The text of the outgoing user message.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *text;

    Swift

    var text: String! { get }
  • Details describing if and how the outgoing message was modified.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) SCUserEventInfoType infoType;

    Swift

    var infoType: SCUserEventInfoType { get }
  • Indicates whether the text event has completed.

    Declaration

    Objective-C

    @property (getter=isCompleted, assign, readwrite, nonatomic) BOOL completed;

    Swift

    var isCompleted: Bool { get set }